Category:Triggers

From SphereWiki
Revision as of 10:23, 7 May 2015 by XuN (talk | contribs) (Characters)
Jump to: navigation, search

Items

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

Name Description
@AfterClick Fires when the object has been single-clicked, just before the overhead name is shown.
@Buy Fires when the item is being bought from a vendor.
@Click Fires when the object has been single-clicked.
@ClientTooltip Fires when tooltips are about to be sent to a client.
@ContextMenuRequest Fires when a client requests the context menu options for the object.
@ContextMenuSelect Fires when a client selects a context menu option for the object.
@Create Fires when the object is initially created, before it is placed in the world.
@Damage Fires when the item receives damage.
@DClick Fires when the object is double-clicked.
@Destroy Fires when the object is being deleted.
@DropOn_Char Fires when the item has been dropped on to a character.
@DropOn_Ground Fires when the item has been dropped on to the ground.
@DropOn_Item Fires when the item is dropped on to another item.
@DropOn_Self Fires when an item has been dropped on to this item.
@Equip Fires when the item has been equipped.
@EquipTest Fires when the item is about to be equipped.
@PickUp_Ground Fires when the item ihas been picked up from the ground.
@PickUp_Pack Fires when the item is picked up from inside a container.
@PickUp_Self Fires when an item has been picked up from inside the item.
@PickUp_Stack Fires when the item is picked up from a stack.
@Sell Fires when the item is sold to a vendor.
@SpellEffect Fires when the object is hit by the effects of a spell.
@Step Fires when a character steps on the item.
@TargOn_Cancel Fires when a target is cancelled from the item.
@TargOn_Char Fires when a character is targeted from the item.
@TargOn_Ground Fires when the ground is targeted from the item.
@TargOn_Item Fires when an item is targeted from this item.
@Timer Fires when the item's timer expires.
@ToolTip Fires when old-style tooltips are requested for the item.
@UnEquip Fires when the item is unequipped.


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.


Regions

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

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.


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)