Difference between revisions of "@Attack"

From SphereWiki
Jump to: navigation, search
(Arguments)
 
(2 intermediate revisions by 2 users not shown)
Line 27: Line 27:
 
|-
 
|-
 
| [[ARGN1]] || Threat being assigned to the target after starting the fight (Only for NPCs).
 
| [[ARGN1]] || Threat being assigned to the target after starting the fight (Only for NPCs).
 +
|-
 +
| [[ARGN2]] ||replace Ignore status. 1->Force to ignore attacker 0->Force to unignore attacker (X-ONLY)
 
|}
 
|}
  
Line 41: Line 43:
 
[[Category: Reference Compendium]]
 
[[Category: Reference Compendium]]
 
[[Category: Triggers]]
 
[[Category: Triggers]]
 +
[[Category: Characters]]
 +
[[Category: Combat]]

Latest revision as of 22:37, 5 October 2021

Description

This trigger fires when one character initiates an attack on another.


Fires on:


References

The following object references are explicitly available for this trigger:

Name Description
I The character initiating the attack.
SRC The character being attacked.


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:


Name Description
ARGN1 Threat being assigned to the target after starting the fight (Only for NPCs).
ARGN2 replace Ignore status. 1->Force to ignore attacker 0->Force to unignore attacker (X-ONLY)

Return Values

The following return values are explicitly defined for this trigger:

Return Value Description
1 Prevents the character from attacking.