Instructions/Get Location

From Desynced Wiki


Get Location
     
     Gets location of a seen unit
Lua ID get_location
Category Global
Icon Move To.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description Unit to get coordinates of
Argument One: Data Type entity
Argument Two: Type Output
Argument Two: Name Coord
Argument Two: Description Coordinate of unit



Description[edit | edit source]

Gets the coordinate of a specified entity.

Uses[edit | edit source]

Used for capturing which coordinate an entity exists on.

Effectively the inverse of Get Entity At, which gets an entity based on a coordinate.


Similar Instructions[edit | edit source]

Get Entity At