ScarDoc

Start typing to search the SCAR reference.

Function
Rule

Rule_AddSGroupEvent

Add a rule to be executed when the event of 'eventType' has happened on squads in the 'sgroup'

On this page
Rule_AddSGroupEvent(rule, sgroup, eventtype)

Description

Event types are: GE_SquadKilled, GE_SquadPinned, GE_SquadParadropComplete, GE_SquadCommandIssued, GE_AbilityExecuted, GE_SpawnActionComplete

Parameters

  • ruleLuaFunctionrequired
  • sgroupSGroupIDrequired
  • eventtypeIntegerrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/rulesystem.scar