This script extends the troop event system with “end phase triggers”. This is simply a final check on all of the event pages when a victory/lose condition has been met. Any pages that can be run during this end phase will be executed and may change the outcome of the battle.
This script is completely plug-and-play and requires no additional setup.
Script: download here
Plug and play. Just set up your events as usual.
If you would like ideas on how to use the script, here are some tutorials written by other developers that I would recommend reading:
- End Phase Triggers for Quests and Player Revival by Sinweaver