Function
Rule
Rule_AddSquadEvent
Add a rule to be executed when the event of 'eventType' has happened on the 'squad'
On this page
Rule_AddSquadEvent(rule, squad, eventtype)Description
Event types are: GE_SquadKilled, GE_SquadPinned, GE_SquadParadropComplete, GE_SquadCommandIssued, GE_AbilityExecuted, GE_SpawnActionComplete
Parameters
ruleLuaFunctionrequiredsquadSquadIDrequiredeventtypeIntegerrequired
Returns
VoidSource
Declared in the game's script sources at:
scar/rulesystem.scar