On Cinematic End
Description
Executes the skill when a cinematicCamera path stops playing on a player.
The caster of this trigger is the player the cinematic was playing for. There is no separate associated @trigger.
This fires no matter how the cinematic ended: when the path finishes naturally, when it is interrupted by cinematicCancel, when the player quits, or when the player dies. It is the reliable place to restore state (UI, effects, control) since it always runs once per cinematic. To run a skill only for one specific cinematic, prefer the mechanic's onEnd attribute instead.
Because the caster is the player, this trigger only runs skills that belong to that player, such as MythicCrucible item skills or MythicRPG skills. It never runs a mob's Skills; for those, use the mechanic's onEnd attribute.
Examples
On a MythicCrucible item, the skill runs for the player holding or wearing it.
CinematicWatcher:
Id: LEATHER_HELMET
Skills:
# Restore the player's HUD whenever their cinematic ends, however it ends
- setVariable{var=caster.hud;value=shown} @self ~onCinematicEnd