ScriptEvent:setCallback

From Mod Wiki
Revision as of 17:51, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

string name -- Name of the function to use as a callback.

Result

None.

Supported By

sdCVarWrapper

Comments

  • Only one callback may be active per wrapper at a time.
  • Supplying a class method as the callback will have undefined behaviour.

Functionality

Specifies a global namespace function to be called whenever the value of this cvar changes.