Difference between revisions of "TryToKill - ReferenceAlias"
Jump to navigation
Jump to search
→Syntax
imported>Jlundin |
imported>Thingy Person (→Syntax) |
||
Line 8: | Line 8: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
bool Function TryToKill() | bool Function TryToKill() | ||
Actor ActorRef = GetActorReference() | |||
if ActorRef | |||
ActorRef.Kill() | |||
Return True | |||
EndIf | |||
Return False | |||
EndFunction | |||
</source> | </source> | ||