-
Notifications
You must be signed in to change notification settings - Fork 0
@CombatDelete
This trigger fires when someone is being deleted from my attacker list.
Fires on:
The following object references are explicitly available for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | I || Myself. |- | SRC || The character being removed from my list. |}
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:
{| 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 |} |- |}
The following return values are explicitly defined for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 1 || Prevents src of leaving my list, however I'll try to delete him as soon as possible. |}
Category: Reference Compendium Category: Triggers Category: Characters Category: Combat