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/ScarPosrequiredrangeRealoptionalhiddenBooleanoptional
Returns
PosSource
Declared in the game's script sources at:
scar/scarutil.scar