How to get position of entity? - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html) +--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html) +---- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-80.html) +---- Thread: How to get position of entity? (/thread-53594.html) |
How to get position of entity? - Mafiyia - 02-24-2017 For my mod I need to get the position of an enemy/entity. To get the player's position I can use the Player_GetPosition function. Is there a similar function to get an enemy/entity's position? I am currently unable to find anything referencing this in the documentation. RE: How to get position of entity? - Abion47 - 02-25-2017 You can use: Code: Map_GetEntity("EntityName").GetPosition(); |