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