Difference between revisions of "TryToKill - ReferenceAlias"

116 bytes added ,  16:28, 29 June 2013
imported>Jlundin
 
imported>Thingy Person
 
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>