- Found in:
- Vanilla
Description
Wiki Description
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.
Documentation Comment
Sets/Unsets the actor in command mode so that we can order them around. SetCanDoCommand() needs to have already been called on the actor.
Parameters
boolabStartCommandMode
CK Wiki Description
True if setting into command mode, false if removing them from command mode
Examples
; Hold-up an NPC at gunpoint
HoldUpTarget.SetCanDoCommand( true )
HoldUpTarget.SetCommandState( true )Auto-Generated Example
bool myBool__abStartCommandMode
myActor__toCallFunctionOn.SetCommandState(myBool__abStartCommandMode)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
