Difference between revisions of "ScriptEvent:setState"

From Mod Wiki
 
(No difference)

Latest revision as of 18:06, 5 November 2007

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.