ScriptEvent:setState

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

Parameters

string name -- Name of the function to switching execution to.

Result

None.

Supported By

sdVehicleWeapon
sdClientScriptEntity
idProjectile
sdScriptEntity
idActor

Comments

  • The function must be on the same script object.
  • An error will be thrown if the function does not exist.

Functionality

Terminates the current execution path, and moves execution to a different function.