Summary
Functions
Handles the end of a sequence that the plugin has set for a player.
Functions
Handles the end of a sequence that the plugin has set for a player. A sequence that has played out is followed by the one of the next phase, or the animation is over. A sequence that was stopped or replaced by something else (the framework stops it when the player dies, spawns or gets another model) ends the animation at once, without touching whatever the player plays now. Callbacks of phases the animation has moved on from are ignored.
Parameters
- target Player
- state Map animation state the sequence belonged to
- phase String phase the sequence belonged to
- completed Boolean whether the sequence was kept for its whole duration