SetCanDoCommand - Actor
Revision as of 14:37, 27 February 2014 by imported>Plplecuyer (moved SetCanDoCommand- Actor to SetCanDoCommand - Actor: Standardizing name)
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)