ScarDoc

Start typing to search the SCAR reference.

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

  • originPositionrequired
  • destinationPositionrequired
  • furthestBooleanrequired

Returns

Position

Source

Declared in the game's script sources at:

scar/scarutil.scar