SetCanDoCommand - Actor

From the Fallout4 CreationKit Wiki
(Redirected from SetCanDoCommand- Actor)
Jump to navigation Jump to search

Member of: Actor Script

Flags this actor as bribe by the player

Syntax[edit | edit source]

Function SetCanDoCommand(bool abCanDoCommand= true) native

Parameters[edit | edit source]

  • abCanDoCommand: Whether to set or clear the actor's ability to do a command for the player status.
    • Default: True

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Set guard to be bribed by the player
Guard.SetCanDoCommand()


; Clear Guard's bribed status
Guard.SetCanDoCommand(false)

See Also[edit | edit source]