Homeworld 2 : FunctionsetState
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
setState(<sShipName>, <sStateName>, <bState>)

Description
Sets the specified state within the ship's MADState class. Will not trigger a call to the corresponding _OnSet Lua function. This is useful for making the setting of a state dependent upon an animation completing, or reaching a pause point.
Returns nothing.

Example

Arguments
<sShipName>: Sob* Passed from game
<sStateName>: string Name of state. See state name table above.
<bState>: bool (0/1) Is state on or off

Scope

Related Pages:
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty