(Official) LUA Scripting Documentation
get_script_point
Get the map point of the script block that executed the current script.
Spec:
get_script_point()
Returns
long
: The x component of the map pointlong
: The y component of the map pointlong
: The z component of the map point
Example
local x,y,z = get_script_point()
Incomplete
This documentation is incomplete