ScarDoc

Start typing to search the SCAR reference.

Function
Rule

Rule_WhileInProximity

Triggers every interval seconds that the group is within range of the location

On this page
Rule_WhileInProximity(f, all, who, where, range], interval, recur, data)

Description

Triggers every interval seconds that the group is within range of the location

Parameters

  • fFunctionrequired
  • allBooleanrequired
  • whoSGroup/EGrouprequired
  • whereMarkerrequired
  • range]Integeroptional
  • intervalFloatoptional
  • recurBooleanoptional
  • dataTableoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/rulesystem.scar