ScarDoc

Start typing to search the SCAR reference.

Function
Rule

Rule_Add

Add a rule to be executed every frame.

On this page
Rule_Add(f, data, group)

Description

Returns the ID of the rule just added.

Parameters

  • fLuaFunctionrequired
  • dataTableoptional
  • groupRuleGroupoptional

Returns

Integer

Source

Declared in the game's script sources at:

scar/rulesystem.scar