Description
Wiki Description
Checks if the actor would refuse a command on the ref for the player (and why)
Documentation Comment
Obtains the ability to do a command on ref for player
0 - will do the command
1 - refuse for reasons other then moral/impossible
2 - Impossible
3 - Morale refusal
Returns if actor can do command on ref for player
Parameters
ObjectReferenceakObject
CK Wiki Description
The target ref for the command
Examples
; check if Preston would do a command for the player on Sturges
if (Preston.WouldRefuseCommand(SturgesRef) == 0)
Debug.Trace("Preston would inspect Sturges!")
endIfAuto-Generated Example
ObjectReference myObjectReference__akObject
int returnedValue = myActor__toCallFunctionOn.WouldRefuseCommand(myObjectReference__akObject)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
