Category:Triggers
Contents
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)@
- @Abort
- @AfterClick
- @Attack
- @Buy
- @CallGuards
- @CharAttack
- @CharClick
- @CharClientTooltip
- @CharDClick
- @CharTradeAccepted
- @Click
- @ClientTooltip
- @CliPeriodic
- @CombatAdd
- @CombatDelete
- @CombatEnd
- @CombatStart
- @ContextMenuRequest
- @ContextMenuSelect
- @Create
- @Criminal
- @Damage
- @DClick
- @Death
- @DeathCorpse
- @Destroy
- @Dismount
- @DropOn Char
- @DropOn Ground
- @DropOn Item
- @DropOn Self
- @DropOn Trade
- @Dye
- @Eat
- @Effect
- @EffectAdd
- @EffectRemove
- @EffectTick
- @Enter
- @EnvironChange
- @Equip
- @EquipTest
- @Exit
- @ExpChange
- @ExpLevelChange
- @Fail
- @Fail (Spell Trigger)
- @FameChange
- @Gain
- @GetHit
- @Hit
- @HitMiss
- @HitParry
- @HitTry
- @HouseDesignCommit
- @HouseDesignExit
- @ItemAfterClick
- @ItemBuy
- @ItemClick
- @ItemClientTooltip
- @ItemContextMenuRequest
- @ItemContextMenuSelect
- @ItemCreate
- @ItemDamage
- @ItemDClick
- @ItemDropOn Char
- @ItemDropOn Ground
- @ItemDropOn Item
- @ItemDropOn Self
- @ItemEquip
- @ItemEquipTest
- @ItemPickUp Ground
- @ItemPickUp Pack
- @ItemPickUp Self
- @ItemPickUp Stack
- @ItemSell
- @ItemSmelt
- @ItemSpellEffect
- @ItemStep
- @ItemTargOn Cancel
- @ItemTargOn Char
- @ItemTargOn Ground
- @ItemTargOn Item
- @ItemToolTip
- @ItemUnEquip
- @Jailed
- @KarmaChange
- @Kill
- @Login
- @Logout
- @Mount
- @MurderDecay
- @MurderMark
- @NotoSend
- @NPCAcceptItem
- @NpcActCast
- @NPCActFight
- @NPCActFollow
- @NPCAction
- @NPCActWander
- @NPCHearGreeting
- @NPCHearUnknown
- @NPCLookAtChar
- @NPCLookAtItem
- @NPCLostTeleport
- @NPCRefuseItem
- @NPCRestock
- @NPCSeeNewPlayer
- @NPCSeeWantItem
- @NPCSpecialAction
- @PartyDisband
- @PartyInvite
- @PartyLeave
- @PartyRemove
- @PayGold
- @PersonalSpace
- @PetDesert
- @PickUp Ground
- @PickUp Pack
- @PickUp Self
- @PickUp Stack
- @PreStart
- @Profile
- @ReceiveItem
- @Redeed
- @RegenStat
- @RegionEnter
- @RegionLeave
- @RegionResourceFound
- @RegPeriodic
- @Rename
- @ResourceFound
- @ResourceGather
- @ResourceTest
- @Resurrect
- @SeeCrime
- @SeeHidden
- @SeeSnoop
- @Select
- @Select (Spell Trigger)
- @Sell
- @SkillAbort
- @SkillChange
- @SkillFail
- @SkillGain
- @SkillMakeItem
- @SkillMenu
- @SkillPreStart
- @SkillSelect
- @SkillStart
- @SkillSuccess
- @SkillUseQuick
- @SkillWait
- @Smelt
- @SpellBook
- @SpellCast
- @SpellEffect
- @SpellEffectAdd
- @SpellEffectRemove
- @SpellEffectTick
- @SpellFail
- @SpellSelect
- @SpellSuccess
- @SpellTargetCancel
- @Start
- @Start (Spell Trigger)
- @StatChange
- @Step
- @StepStealth
- @Success
- @Success (Spell Trigger)
- @TargOn Cancel
- @TargOn Char
- @TargOn Ground
- @TargOn Item
- @Timer
- @ToggleFlying
- @ToolTip
- @TradeAccepted
- @TradeClose
- @TradeCreate
- @UnEquip
- @UseQuick
- @UserBugReport
- @UserChatButton
- @UserExtCmd
- @UserExWalkLimit
- @UserGuildButton
- @UserKRToolbar
- @UserMailBag
- @UserQuestArrowClick
- @UserQuestButton
- @UserSkills
- @UserSpecialMove
- @UserStats
- @UserVirtue
- @UserVirtueInvoke
- @UserWarmode
- @Wait