SetCanDoCommand - Actor

From the Fallout4 CreationKit Wiki
Revision as of 14:37, 27 February 2014 by imported>Plplecuyer (moved SetCanDoCommand- Actor to SetCanDoCommand - Actor: Standardizing name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]