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
ruleLuaFunctionrequiredeventtypeIntegerrequired
Returns
VoidSource
Declared in the game's script sources at:
scar/rulesystem.scar