Mod:Creation Kit/SetActorCause - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Sets the actor as the actor cause of this object.

Syntax
Function SetActorCause(Actor akActor) native

Parameters

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

Return Value
None.

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