Difference between revisions of "@Attack"

From SphereWiki
Jump to: navigation, search
(Created page with '==Description== This trigger fires when one character initiates an attack on another. Fires on: * Characters ==References== The following object references are explicitly...')
 
(Arguments)
Line 23: Line 23:
  
  
''No arguments are set for this trigger.''
+
{| border="1" cellspacing="4" cellpadding="4"
 
+
| '''Name''' || '''Description'''
 +
|-
 +
| [[ARGN1]] || Threat being assigned to the target after starting the fight (Only for NPCs).
 +
|}
  
 
==Return Values==
 
==Return Values==

Revision as of 12:50, 30 May 2014

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).

Return Values

The following return values are explicitly defined for this trigger:

Return Value Description
1 Prevents the character from attacking.