ScarDoc

Start typing to search the SCAR reference.

Function
Rule

Rule_AddGlobalEvent

Add a rule to be executed when the event of 'eventType' has happened, regardless of source

On this page
Rule_AddGlobalEvent(rule, eventtype)

Description

Event types are: GE_PlayerBeingAttacked

Parameters

  • ruleLuaFunctionrequired
  • eventtypeIntegerrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/rulesystem.scar