Difference between revisions of "Category:Triggers"

From SphereWiki
Jump to: navigation, search
(Items)
(Regions)
Line 9: Line 9:
 
|-
 
|-
 
| [[@ResourceFound]] || Fires when the resource is spawned.
 
| [[@ResourceFound]] || Fires when the resource is spawned.
|}
 
 
 
==Regions==
 
Here is a list of all [[Regions|region]] triggers. Click on the trigger name for more detailed information such as arguments and examples.
 
 
{| border="1" cellspacing="4" cellpadding="4"
 
| '''Name''' || '''Description'''
 
|-
 
| [[@CliPeriodic]] || Fires multiple times approximately every 30 seconds, for each client in the region.
 
|-
 
| [[@Enter]] || Fires when a character enters the region.
 
|-
 
| [[@Exit]] || Fires when a character exits the region.
 
|-
 
| [[@RegPeriodic]] || Fires once approximately every 30 seconds, as long as there is at least one client in the region.
 
|-
 
| [[@Step]] || Fires whenever a character takes a step within the region.
 
 
|}
 
|}
  

Revision as of 10:25, 7 May 2015

Region Resources

Here is a list of all region resource triggers. Click on the trigger name for more detailed information such as arguments and examples.

Name Description
@ResourceTest Fires when the resource is being considered for spawning.
@ResourceFound Fires when the resource is spawned.


Skills

The following table lists all of the triggers that can be placed under a skill definition. All of the triggers here have an equivalent @Skill trigger on the character object.

Name Description
@Abort Fires when a character aborts an attempt at using the skill.
@Fail Fires when a character fails an attempt at using the skill.
@Gain Fires when a character is given the chance to gain in the skill.
@PreStart Fires when a character starts to use the skill, before any hardcoded behaviour takes place.
@Select Fires when a character selects the skill from their skill menu.
@Start Fires when a character starts to use the skill.
@Success Fires when a character succeeds an attempt at using the skill.
@UseQuick Fires when a character quickly uses the skill, without changing their ACTION.


Spells

The following table lists all of the triggers that can be placed under a spell definition. All of the triggers here have an equivalent @Spell trigger on the character object.

Name Description
@Effect Fires when a character or item is hit by the spell.
@Fail Fires when a character fails to cast the spell.
@Select Fires when a character selects to cast the spell, or when Sphere checks if a character is capable of casting it.
@Start Fires when a character starts to cast the spell.
@Success Fires when a character successfully casts the spell.

Subcategories

This category has the following 8 subcategories, out of 8 total.

Pages in category "Triggers"

The following 200 pages are in this category, out of 201 total.

(previous page) (next page)

@

(previous page) (next page)