Background for Fallout 4
Member of the Actor script
voidfunctionSetCanDoCommand(boolabCanCommand=true)Native

Description

Wiki Description

Flags this actor as bribe by the player

Documentation Comment

Flags/unflags this actor as can be commanded by the player


Caveats


Parameters

boolabCanCommand=true

CK Wiki Description

Whether to set or clear the actor's ability to do a command for the player status.

  • Default:True

Examples

; Set guard to be bribed by the player
Guard.SetCanDoCommand()
; Clear Guard's bribed status
Guard.SetCanDoCommand(false)

Auto-Generated Example

bool myBool__abCanCommand

myActor__toCallFunctionOn.SetCanDoCommand(myBool__abCanCommand)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.