Location
- Parameters
x realy real- comment
Creates a new location that points to the (x,y) map coordinates.
The current Z-height at that map position can be retrieved with
GetLocationZ.To avoid leaks, use
RemoveLocationto destroy the location.- note
Some natives may return a location with (0,0,0) which is different from a manually created location at (x=0,y=0) that will return the map's height via
GetLocationZ.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
location- Source code
native Location takes real x, real y returns location