Difference between revisions of "IsKiller"

Jump to navigation Jump to search
53 bytes added ,  09:24, 23 December 2008
m
Fixed style of "syntax" section, made example different from syntax and added explanation
imported>Quetzilla
m
imported>Cipscis
m (Fixed style of "syntax" section, made example different from syntax and added explanation)
Line 1: Line 1:
=='''Description'''==
=='''Description'''==


'''*IsKiller''' Test to see if an actor was killed by another actor. It is called on a reference, the dead actor and takes one parameter, the actor being queried as the possible killer.
'''*IsKiller''' Test to see if an actor was killed by another actor. It is called on a reference - the dead actor and takes one parameter - the actor being queried as the possible killer.


=='''Syntax'''==
=='''Syntax'''==


 
ActorREF.IsKiller ActorRef
[ActorREF.]IsKiller ActorRef


=='''Examples'''==
=='''Examples'''==


  if [ActorREF.]IsKiller ActorRef
  player.IsKiller BuddyRef
Returns a value of "1" if BuddyRef was killed by the player


=='''Notes'''==
=='''Notes'''==
Anonymous user

Navigation menu