I'm making a map with lots of cinematics that resemble the classic Warcraft 3 campaign cinematics, and I also want to add the option to cancel a cinematic.
I've used the "When Player skips a cinematic sequence" event trigger, turning off the cinematic mode and clearing things to how it should be at the end of the cinematic (example below), but the problem is that after a cinematic is skipped, the trigger for the cinematic will still run, and even though the game camera has been normalized and cinematic mode is off, the transmissions that were supposed to occur if the cinematic wasn't cancelled still occur, and so do the camera shifts!
The only way I see that a trigger can actually be stopped mid-execution is via the "Skip remaining actions" action, but that can't be applied to cancelling cinematics. Or can it?
Any help appreciated
I've used the "When Player skips a cinematic sequence" event trigger, turning off the cinematic mode and clearing things to how it should be at the end of the cinematic (example below), but the problem is that after a cinematic is skipped, the trigger for the cinematic will still run, and even though the game camera has been normalized and cinematic mode is off, the transmissions that were supposed to occur if the cinematic wasn't cancelled still occur, and so do the camera shifts!
The only way I see that a trigger can actually be stopped mid-execution is via the "Skip remaining actions" action, but that can't be applied to cancelling cinematics. Or can it?
Any help appreciated
-
SkipCinematicExample
-
Events
- Player - Player 1 (Red) skips a cinematic sequence
- Conditions
-
Actions
- Trigger - Turn off Cinematic01 <gen>
- Cinematic - Turn cinematic mode Off for (All players)
- Unit - Unpause all units
- -------- Everything else I need to clear like unit positions etc. + a camera reset. --------
-
Events