Difference between revisions of "IsKiller"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
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'''==

Revision as of 23:46, 27 February 2009

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the calling Actor was killed by the specified Actor

Syntax

[help]
Actor.IsKiller Killer:ref

Example

BuddyRef.IsKiller player

Returns a value of 1 if BuddyRef was killed by the player

Notes

  • None at this time


See Also

Reference

None provided.