SetActorCause - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: 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

; 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)

See Also