Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetActorCause(ActorakActor)Native

Description

Wiki Description

Sets the actor as the actor cause of this object.

Documentation Comment

Sets this object's actor cause to the specified actor


Caveats


Parameters

ActorakActor

CK Wiki Description

The Actor to set as this object's actor cause. If None, it will clear it.


Examples

; Make Bob responsible for whatever the object does
Object.SetActorCause(Bob)
; Clear the actor cause, which means no one is responsible for the object anymore
Object.SetActorCause(None)

Auto-Generated Example

Actor myActor__akActor

myObjectReference__toCallFunctionOn.SetActorCause(myActor__akActor)

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.