HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cinematic Skip

08-14-2004, 05:47 AM#1
MadBagOfHorses
I am working on a campaign. Of course this campaign is FULL of cinematics and dialogue. I know that there is a way to make the Esc. button skip whole cinematic sequences... However I don't know how to do it. I know that by default the Esc. key simply clears the current transmisson. I have tried to do some triggering to get this to work but I think I made it to complex and went around the problem and caused new problems (I can explain the way I did it if you REALLY want me to, but it'd be a LONG post).

All I need to know is how to make the Esc. button skip whole cinematic sequences. I am good with triggers (I use WEU) and know VERY VERY VERY basic Jass (probably not really enough to create a trigger that does anything but says "hi" :\ ). If anyone can help, than of course it would mean a huge thank you and a nice little rep point from me.

Thank you for your time.

-MadBagOfHorses
08-14-2004, 06:36 AM#2
th15
There was a tutorial on this a while ago and the technique used there was to have EVERY step of the the cinematic triggers check a boolean variable before running (if-then-else action).

This boolean variable would be set to false if the player pressed the esc key and once set to false, all the remaining steps in a cinematic would never run.
08-14-2004, 06:05 PM#3
MadBagOfHorses
Ouch... That's the way I tried mine, but it got out of hand and I messed something up. I'll look for that tut. Thanx!

-MadBagOfHorses
08-14-2004, 07:18 PM#4
Kirbot
Lol, it's actually really simple. All you do is make a new trigger, and have an Event of "Player 1 skips cinematic", and the actions setting up what it would have been like had you let the cinematic run its course.

For example, if you have a cinematic with a footman (Footman01) going from 'Start' to 'Finish', and you want Player 1 to have to press escape to skip it, you have it like...

Events
Player -> Player 1 (Red) skips cinematic
Actions
Unit -> Move Footman01 to 'Finish'
Unit -> Make Footman01 face blah degrees

In actions, just set stuff up as though they had actually gone through with the cinematic. Hope this helps!

Also, I'm not that familiar with these forums yet, but shouldn't this have been put in the Triggering forum?

*EDIT* I just realized that that wouldn't stop the entire cinematic, i.e. dialogue might keep coming and the camera might keep changing. If you want to see the way I fixed it (that works!), here's a map I started working on... it's just started, and I'm going to redo it because the terrain is horrible, but it has the triggers for 2 working cutscenes.

The only reason I am hosting this at this point is to help people with cutscene triggering. I trust this community so far, so please do not disappoint me by stealing the title/opening stuff for yourself. I still fully intend to carry through with this map. Thank you, people! :>
08-14-2004, 07:25 PM#5
th15
Well kirbot, the problem with your method is that it wouldn't stop any triggers ALREADY running. On top of that, you'd downright screw it up.
08-14-2004, 07:30 PM#6
Kirbot
Sorry, I just edited my post, reread it with the fixed message :\ Sorry 'bout that.