Function
Rule
Rule_AddEGroupEvent
Add a rule to be executed when the event of 'eventType' has happened on entities in the 'egroup'
On this page
Rule_AddEGroupEvent(rule, egroup, eventtype)Description
Event types are: GE_EntityKilled, GE_EntityParadropComplete, GE_EntityCommandIssued, GE_ProjectileFired, GE_AbilityExecuted, GE_SpawnActionComplete
Parameters
ruleLuaFunctionrequiredegroupEGroupIDrequiredeventtypeIntegerrequired
Returns
VoidSource
Declared in the game's script sources at:
scar/rulesystem.scar