SetCanDoCommand - Actor

Member of: Actor Script

Flags this actor as bribe by the player

SyntaxEdit

Function SetCanDoCommand(bool abCanDoCommand= true) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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


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

See AlsoEdit