Rule
37 functions
- Rule_AddAdd a rule to be executed every frame.
- Rule_AddEGroupEventAdd a rule to be executed when the event of 'eventType' has happened on entities in the 'egroup'
- Rule_AddEntityEventAdd a rule to be executed when the event of 'eventType' has happened on the 'entity'
- Rule_AddGlobalEventAdd a rule to be executed when the event of 'eventType' has happened, regardless of source
- Rule_AddIntervalAdd a rule to be executed. Can include a start delay, an interval between rule calls and a count of how many times the rule is called.
- Rule_AddOneShotAdd a rule to be executed once, after 'delay' seconds.
- Rule_AddPlayerEventAdd a rule to be executed when the event of 'eventType' has happened on the 'player'
- Rule_AddSGroupEventAdd a rule to be executed when the event of 'eventType' has happened on squads in the 'sgroup'
- Rule_AddSquadEventAdd a rule to be executed when the event of 'eventType' has happened on the 'squad'
- Rule_ChangeIntervalChange 'interval' seconds of all rules with LuaFunction f
- Rule_ChangeIntervalWithIDChange 'interval' seconds of an existing rule with id
- Rule_EnterProximityTriggers when a group (SGroup/EGroup) gets close enough to a location
- Rule_ExistsTest if a rule with LuaFunction f is currently active
- Rule_ExistsWithIDTest if a rule with id is currently active. Only for TimeRules
- Rule_ExitProximityTriggers when a group (SGroup/EGroup) gets far enough from a location (the group must enter the range before this can trigger)
- Rule_GroupCountComparison is one of IS_LESS_THAN; IS_LESS_THAN_OR_EQUAL; IS_EQUAL; IS_NOT_EQUAL; IS_GREATER_THAN; IS_GREATER_THAN_OR_EQUAL. Triggers when the number of objects in the group, when compared to value by comparison, is true
- Rule_PausePause all rules with LuaFunction for
- Rule_PauseAllPause all currently active rules. Ignores Unpauseable rules.
- Rule_PauseWithIDPause all rules with with id. Only for TimeRules
- Rule_RefreshRefreshes all Time and Event rules
- Rule_RemoveRemove all currently active rules with LuaFunction f (this does not remove any event rules)
- Rule_RemoveAllKills ALL rules.
- Rule_RemoveEGroupEventRemove an active event rule for entities in the 'egroup'
- Rule_RemoveEntityEventRemove an active event rule for the 'entity'
- Rule_RemoveGlobalEventRemove an active event rule that's been applied 'globally'
- Rule_RemoveMeRemove a currently executing rule (only works inside a rule function)
- Rule_RemovePlayerEventRemove an active event rule for the 'player'
- Rule_RemoveSGroupEventRemove an active event rule for squads in the 'sgroup'
- Rule_RemoveSquadEventRemove an active event rule for the 'squad'
- Rule_RemoveWithIDRemove a currently active rule with id (this does not remove any event rules)
- Rule_ReplaceReplaces the function callback for all currently active rules with LuaFunction f (This only applies to TimeRules)
- Rule_ReplaceWithIDReplaces the function callback for all currently active rules with an id (This only applies to TimeRules)
- Rule_TimerUpdate
- Rule_UnpauseUnpause all rules with LuaFunction for
- Rule_UnpauseAllUnpause all rules
- Rule_UnpauseWithIDUnpause all rules with with id. Only for TimeRules
- Rule_WhileInProximityTriggers every interval seconds that the group is within range of the location