Mod:Creation Kit/SetCommandState - Actor

Member of: Mod:Creation Kit/Actor Script

Sets/Unsets the actor in command mode so that we can order them around. SetCanDoCommand needs to have already been called on the actor, or they already need to be 'commandable', e.g. teammates.

Syntax
Function SetCommandState(bool abStartCommandMode) native

Parameters

 * abStartCommandMode : True if setting into command mode, false if removing them from command mode

Return Value
None.

Examples
HoldUpTarget.SetCanDoCommand( true ) HoldUpTarget.SetCommandState( true )
 * Hold-up an NPC at gunpoint