Background for Fallout 4
Member of the Actor script
intfunctionWouldRefuseCommand(ObjectReferenceakObject)Native

[DEV SERVER] Loading description...


Caveats


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!")
endIf

Auto-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

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