SetActorCause - ObjectReference

Revision as of 19:00, 24 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

See AlsoEdit