ScarDoc

Start typing to search the SCAR reference.

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

  • ruleLuaFunctionrequired
  • egroupEGroupIDrequired
  • eventtypeIntegerrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/rulesystem.scar