Function
Util
Util_FindHiddenSpawn
Following a path from origin to destination, finds the HS_CLOSEST/HS_FURTHEST hidden position to/from the destination
On this page
Util_FindHiddenSpawn(origin, destination, furthest)Description
If no position is found, returns origin
Parameters
originPositionrequireddestinationPositionrequiredfurthestBooleanrequired
Returns
PositionSource
Declared in the game's script sources at:
scar/scarutil.scar