Location

Parameters
x real
y 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 RemoveLocation to 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
return type
location
Source code
native Location                 takes real x, real y returns location