ScarDoc

Start typing to search the SCAR reference.

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

  • ruleLuaFunctionrequired
  • squadSquadIDrequired
  • eventtypeIntegerrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/rulesystem.scar