Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get position of entity?
Mafiyia Offline
Junior Member

Posts: 7
Threads: 4
Joined: Jan 2017
Reputation: 0
#1
How to get position of entity?

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.
02-24-2017, 08:01 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#2
RE: How to get position of entity?

You can use:

Map_GetEntity("EntityName").GetPosition();

02-25-2017, 01:32 AM
Find




Users browsing this thread: 1 Guest(s)