Function
World
World_GetClosest
Returns the closest object from the table of marker/pos/egroup/sgroup to the closest marker/pos/egroup/sgroup specified
On this page
World_GetClosest(var, items)Description
The table may mix together objects of different types.
Parameters
varVariablerequireditemsLuaTable/SGroup/EGrouprequired
Returns
VariableSource
Declared in the game's script sources at:
scar/scarutil.scar