... | ... | @@ -7,22 +7,22 @@ Crucible supports all other triggers that would generally make sense, and also a |
|
|
|
|
|
| Trigger | When it fires... |
|
|
|
|----------------------------------------|--------------------------------------------------------------|
|
|
|
| onAttack | When the player hits another entity |
|
|
|
| [onAttack](/../../../MythicMobs/-/wikis/Skills/Triggers/onAttack) | When the player hits another entity |
|
|
|
| onConsume | Triggered if the item is food or a potion that is eaten |
|
|
|
| onCrouch | When the player crouches |
|
|
|
| onUnCrouch | When the player stops crouching |
|
|
|
| onDamaged | When the player is damaged |
|
|
|
| onDeath | When the player dies |
|
|
|
| [onDamaged](/../../../MythicMobs/-/wikis/Skills/Triggers/onDamaged) | When the player is damaged |
|
|
|
| [onDeath](/../../../MythicMobs/-/wikis/Skills/Triggers/onDeath) | When the player dies |
|
|
|
| onEquip | When a player equips an armor piece. |
|
|
|
| onUnEquip | When a player unequips an armor piece. |
|
|
|
| onInteract | When the player interacts with an entity |
|
|
|
| onBowHit | When a player hits an entity with an arrow |
|
|
|
| [onInteract](/../../../MythicMobs/-/wikis/Skills/Triggers/onInteract) | When the player interacts with an entity |
|
|
|
| [onBowHit](/../../../MythicMobs/-/wikis/Skills/Triggers/onBowHit) | When a player hits an entity with an arrow |
|
|
|
| onPotionSplash | Triggered if the item is a potion that was thrown |
|
|
|
| onRightClick | When the player right-clicks |
|
|
|
| onShoot | When the player shoots a bow |
|
|
|
| onSpawn | When the player logs in or respawns |
|
|
|
| [onShoot](/../../../MythicMobs/-/wikis/Skills/Triggers/onShoot) | When the player shoots a bow |
|
|
|
| [onSpawn](/../../../MythicMobs/-/wikis/Skills/Triggers/onSpawn) | When the player logs in or respawns |
|
|
|
| onSwing | When the player left-clicks |
|
|
|
| onTimer:# | Every # ticks (where # is the interval in ticks) |
|
|
|
| [onTimer:#](/../../../MythicMobs/-/wikis/Skills/Triggers/onTimer) | Every # ticks (where # is the interval in ticks) |
|
|
|
| onUse | When the player right-clicks while holding the item |
|
|
|
| onFish | When the player right-clicks while holding a fishing rod |
|
|
|
| onFishBite | When a fish bites the hook from a fishing rod |
|
... | ... | @@ -60,11 +60,11 @@ All these triggers can be used with [Furnitures](/Furniture) |
|
|
| onBlockPlace | When the furniture is placed |
|
|
|
| onBlockBreak | When the furniture is broken |
|
|
|
| onBlockRotate | When the furniture is rotated |
|
|
|
| onDamaged | When the furniture is punched |
|
|
|
| [onDamaged](/../../../MythicMobs/-/wikis/Skills/Triggers/onDamaged) | When the furniture is punched |
|
|
|
| onFurnitureStateChange | When the furnitures state changed. This is triggered every time the [SetFurnitureState](/Skills/Mechanics/setfurniturestate) mechanic is used, even if the state stays the same. |
|
|
|
| onFurnitureInventoryOpen | When the [Furniture Inventory](/Skills/Mechanics/furnitureinventory) is opened |
|
|
|
| onFurnitureInventoryClose | When the [Furniture Inventory](/Skills/Mechanics/furnitureinventory) is closed |
|
|
|
| onInteract | When a player right clicks the furniture |
|
|
|
| [onInteract](/../../../MythicMobs/-/wikis/Skills/Triggers/onInteract) | When a player right clicks the furniture |
|
|
|
| onPaint | When a paintbrush is used on a furniture |
|
|
|
| [onTimer:#](/../../../MythicMobs/-/wikis/Skills/Triggers/onTimer) | Every X ticks |
|
|
|
|
... | ... | |