-
Notifications
You must be signed in to change notification settings - Fork 0
@SpellSuccess
This trigger fires when a character successfully casts a spell.
Fires on:
The following object references are explicitly available for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | ARGO || The source of the spell. Could be the item used to cast the spell (e.g. a wand or scroll) or the character casting the spell. |- | I || The character casting the spell. |- | SRC || The character casting the spell. |- | ACT || The target of the spell, if any. |}
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 || The spell that was cast. |- | ARGN2 || IO || The strength of the spell. |- | LOCAL.CREATEOBJECT1 || O || For field spells, overrides the item BASEID to use for the east-west direction.
| For summon spells, overrides the character BASEID to summon. |
|---|
| LOCAL.CREATEOBJECT2 |
| - |
| LOCAL.FIELDGAUGE |
| - |
| LOCAL.FIELDWIDTH |
| - |
| LOCAL.EFFECTCOLOR |
| } |
The following return values are explicitly defined for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 1 || Aborts casting the spell. |}
Category: Reference Compendium Category: Triggers