SetActorCause - ObjectReference
Member of: ObjectReference Script
Sets the actor as the actor cause of this object.
SyntaxEdit
Function SetActorCause(Actor akActor) native
ParametersEdit
- akActor: The Actor to set as this object's actor cause. If None, it will clear it.
Return ValueEdit
None.
ExamplesEdit
; 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)