1,482
edits
imported>Jlundin No edit summary |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Function SetActorCause(Actor akActor) native | Function SetActorCause(Actor akActor) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 17: | Line 17: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Make Bob responsible for whatever the object does | ; Make Bob responsible for whatever the object does | ||
Object.SetActorCause(Bob) | Object.SetActorCause(Bob) | ||
</ | </syntaxhighlight> | ||
<br> | <br> | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Clear the actor cause, which means no one is responsible for the object anymore | ; Clear the actor cause, which means no one is responsible for the object anymore | ||
Object.SetActorCause(None) | Object.SetActorCause(None) | ||
</ | </syntaxhighlight> | ||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] | ||