Function; setState - HWRM/KarosGraveyard GitHub Wiki
setState(<sShipName>, <sStateName>, <bState>)
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.
<sShipName>: Sob* Passed from game
<sStateName>: string Name of state. See state name table above.
<bState>: bool (0/1) Is state on or off
SCAR (SCripting at Relic) Reference
Updated Formatting? Initial
Updated for HWRM? Initial