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
ruleLuaFunctionrequiredsgroupSGroupIDrequiredeventtypeIntegerrequired
Returns
VoidSource
Declared in the game's script sources at:
scar/rulesystem.scar