Difference between revisions of "@Kill"

From SphereWiki
Jump to: navigation, search
(Created page with '==Description== This trigger fires on all characters who are responsible for another character's death. Fires on: * Characters ==References== The following object referen...')
 
(Undo revision 7865 by XuN (talk))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
 
This trigger fires on all characters who are responsible for another character's death.
 
This trigger fires on all characters who are responsible for another character's death.
 +
 +
The trigger is fired based on the Attacker list, @Death is called before it and @DeathCorpse after, so the @Death trigger can pre-handle who will receive this trigger by adding or removing attackers.
  
  
 
Fires on:
 
Fires on:
 
* [[Characters]]
 
* [[Characters]]
 
  
 
==References==
 
==References==
Line 43: Line 44:
 
[[Category: Reference Compendium]]
 
[[Category: Reference Compendium]]
 
[[Category: Triggers]]
 
[[Category: Triggers]]
 +
[[Category: Characters]]
 +
[[Category: Combat]]

Latest revision as of 23:55, 7 April 2018

Description

This trigger fires on all characters who are responsible for another character's death.

The trigger is fired based on the Attacker list, @Death is called before it and @DeathCorpse after, so the @Death trigger can pre-handle who will receive this trigger by adding or removing attackers.


Fires on:

References

The following object references are explicitly available for this trigger:

Name Description
ARGO The character who has been killed.
I The character doing the killing.
SRC The character doing the killing.


Arguments

The following arguments are set for this trigger. If an argument is marked as "In" then a value will be passed in to the trigger, if an argument is marked as "Out" then it can be set to a value to affect Sphere's behaviour:

Argument In/Out Description
ARGN1 I The total number of characters involved in the character's death.


Return Values

The following return values are explicitly defined for this trigger:

Return Value Description
1 Prevents the killer from receiving credit for the kill.