Difference between revisions of "@CombatDelete"

From SphereWiki
Jump to: navigation, search
(Created page with "==Description== This trigger fires when someone is being deleted from my attacker list. Fires on: * Characters ==References== The following object references are expli...")
 
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
  
  
''No arguments are set for this trigger.''
+
{| border="1" cellspacing="4" cellpadding="4"
 
+
| '''Argument''' || '''In/Out''' || '''Description'''
 +
|-
 +
| ARGN1 || I || Shows if the deletion was forced by your scripts (1) or called by Sphere (0)
 +
|-
 +
| ARGN2 || I ||
 +
{| cellpadding="4"
 +
| '''Type description''' || '''Values'''
 +
|-
 +
| Forced (Blocked attack, default uncategorized actions...) || 0
 +
|-
 +
| Max fight time has reached (Elapsed) || 1
 +
|-
 +
| Distance/LOS || 2
 +
|-
 +
| The character is no longer existing || 3
 +
|-
 +
| Forced via attacker.delete methods (ingame/script) || 4
 +
|}
 +
|-
 +
|}
  
 
==Return Values==
 
==Return Values==
Line 34: Line 53:
 
| 1 || Prevents src of leaving my list, however I'll try to delete him as soon as possible.
 
| 1 || Prevents src of leaving my list, however I'll try to delete him as soon as possible.
 
|}
 
|}
 +
  
  
 
[[Category: Reference Compendium]]
 
[[Category: Reference Compendium]]
 
[[Category: Triggers]]
 
[[Category: Triggers]]
 +
[[Category: Characters]]
 +
[[Category: Combat]]

Latest revision as of 15:12, 7 May 2015

Description

This trigger fires when someone is being deleted from my attacker list.


Fires on:


References

The following object references are explicitly available for this trigger:

Name Description
I Myself.
SRC The character being removed from my list.


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 Shows if the deletion was forced by your scripts (1) or called by Sphere (0)
ARGN2 I
Type description Values
Forced (Blocked attack, default uncategorized actions...) 0
Max fight time has reached (Elapsed) 1
Distance/LOS 2
The character is no longer existing 3
Forced via attacker.delete methods (ingame/script) 4

Return Values

The following return values are explicitly defined for this trigger:

Return Value Description
1 Prevents src of leaving my list, however I'll try to delete him as soon as possible.