Difference between revisions of "IsKiller"

Jump to navigation Jump to search
69 bytes removed ,  23:46, 27 February 2009
Updated to use Function template, fixed example
imported>Cipscis
m (Fixed style of "syntax" section, made example different from syntax and added explanation)
imported>Cipscis
(Updated to use Function template, fixed example)
Line 1: Line 1:
=='''Description'''==
{{Function
|origin = GECK1
|summary = Returns 1 if the calling Actor was killed by the specified Actor
|referenceType = Actor
|arguments = {{FunctionArgument
    |Name = Killer
    |Type = ref
  }}
|example = BuddyRef.IsKiller player


'''*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.
Returns a value of 1 if BuddyRef was killed by the player
 
}}
=='''Syntax'''==
 
ActorREF.IsKiller ActorRef
 
=='''Examples'''==
 
player.IsKiller BuddyRef
Returns a value of "1" if BuddyRef was killed by the player


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

Navigation menu