Instructions/Get Location: Difference between revisions

From Desynced Wiki
(Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
 
(informational)
 
Line 3: Line 3:
==== Description ====
==== Description ====


Gets the coordinate of a specified entity.
==== Uses ====


==== Uses ====
Used for capturing which coordinate an entity exists on.


Effectively the inverse of [[Instructions/Get Entity At|Get Entity At]], which gets an entity based on a coordinate.




==== Similar Instructions ====
==== Similar Instructions ====


 
[[Instructions/Get Entity At|Get Entity At]]
{{Instruction_Bottom}}
{{Instruction_Bottom}}

Latest revision as of 05:41, 17 September 2023


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