ScarDoc

Start typing to search the SCAR reference.

Function
Rule

Rule_GroupCount

Comparison is one of IS_LESS_THAN; IS_LESS_THAN_OR_EQUAL; IS_EQUAL; IS_NOT_EQUAL; IS_GREATER_THAN; IS_GREATER_THAN_OR_EQUAL. Triggers when the number of objects in the group, when compared to value by comparison, is true

On this page
Rule_GroupCount(f, group, comparison, value, recur, data)

Description

Comparison is one of IS_LESS_THAN; IS_LESS_THAN_OR_EQUAL; IS_EQUAL; IS_NOT_EQUAL; IS_GREATER_THAN; IS_GREATER_THAN_OR_EQUAL. Triggers when the number of objects in the group, when compared to value by comparison, is true

Parameters

  • fFunctionrequired
  • groupSGroup/EGrouprequired
  • comparisonComparisonrequired
  • valueIntegerrequired
  • recurBooleanrequired
  • dataTablerequired

Returns

Void

Source

Declared in the game's script sources at:

scar/rulesystem.scar