Spectator Interact
Added in v2.0.1.
Description
Fires when a spectating player right-clicks a Mythic mob inside the dungeon. Fires on the interacted mob only, with the spectating player as <trigger>. The click itself is cancelled. Unlike the other triggers, @origin here is the spectating player's location, not the mob's.
Requires the modern spectator system. This trigger is only wired up when
Spectator.UseLegacyis set tofalseinconfig.ymland PacketEvents is installed. With the shipped default (UseLegacy: true) it never fires.
Examples
SpectatorTaunt:
Skills:
- message{m="<caster.name> waves at you from beyond the veil."} @trigger ~onSpectatorInteract
When a spectator right-clicks the mob, it messages that spectator.
Aliases
-
~onDungeonSpectatorInteract -
~onSpecInteract