ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_GetRandomPosition

Returns a random position either within the marker's proximity or with a pos and range provided. Range is ignored for rectangular markers

On this page
Util_GetRandomPosition(arg1, range, hidden)

Description

Returns a random position either within the marker's proximity or with a pos and range provided. Range is ignored for rectangular markers

Parameters

  • arg1MarkerID/ScarPosrequired
  • rangeRealoptional
  • hiddenBooleanoptional

Returns

Pos

Source

Declared in the game's script sources at:

scar/scarutil.scar