HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Skipping cinematics made really easy

06-14-2004, 03:24 PM#1
weaaddar
I was looking into skipping cinematics but unfortuantly this seemed like the only way to do it, right:
Code:
MY cinematic
    Events
        Player - Player 1 (Red) types a chat message containing = as An exact match
    Conditions
    Actions
        Cinematic - Turn cinematic mode On for (All players)
        Cinematic - Send transmission to (All players) from a Player 1 (Red) Footman named Damn at (Center of (Playable map area)): Play No sound and display this sucks.  Modify duration: Add 0.00 seconds and Wait
        If (SkipIt Equal to True) then do (Skip remaining actions) else do (Do nothing)
        Cinematic - Send transmission to (All players) from a Player 1 (Red) Footman named Damn at (Center of (Playable map area)): Play No sound and display like wow what a pai....  Modify duration: Add 0.00 seconds and Wait
        If (SkipIt Equal to True) then do (Skip remaining actions) else do (Do nothing)
        Cinematic - Send transmission to (All players) from a Player 1 (Red) Footman named Damn at (Center of (Playable map area)): Play No sound and display I mean its more ann....  Modify duration: Add 0.00 seconds and Wait
        If (SkipIt Equal to True) then do (Skip remaining actions) else do (Do nothing)
        Cinematic - Send transmission to (All players) from a Player 1 (Red) Footman named Damn at (Center of (Playable map area)): Play No sound and display Totally gay.  Modify duration: Add 0.00 seconds and Wait
        Cinematic - Turn cinematic mode Off for (All players)
Code:
Cin Skipper
    Events
        Player - Player 1 (Red) skips a cinematic sequence
    Conditions
    Actions
        Set SkipIt = True
        Cinematic - Turn cinematic mode Off for (All players)


how annoying have to put a break after every line of your cinematic. But then I realized something, why not just remove the triggeraction? Instant satisfaction without the annoying.
Code:
Cin Skipper New
    Events
        Player - Player 1 (Red) skips a cinematic sequence
    Conditions
    Actions
        Set Trig = MY cinematic <gen>
        Custom script:   call TriggerClearActions(udg_Trig)
        Cinematic - Turn cinematic mode Off for (All players)

Your cinematic no longer needs the boolean check every other line. Easier I'd say.
06-14-2004, 05:11 PM#2
JTG
That actually works? I thought that action would only clear Future calls of that trigger Not the active one.
06-14-2004, 07:01 PM#3
weaaddar
yes it works, why don't you try it?
06-14-2004, 07:48 PM#4
Nemesis9x
This is pretty much the exact same way blizzard uses to skip cinematics.
06-14-2004, 07:59 PM#5
weaaddar
The first is how blizzard does it. That method sucks as does your reading comprehension.

You'll see the third trigger is the correct method the easiest way to do it.
06-14-2004, 08:04 PM#6
Nemesis9x
Sorry, my reading does suck :\ Ya, tat method is much better :D
06-14-2004, 08:09 PM#7
Vexorian
I thought that was the usual thing to skip cinematics?

bah I guess I have to share my knowledge more often

Edit: You know it is only needed before the first line and after waits, right?
06-14-2004, 10:39 PM#8
weaaddar
Vex your reading comprehension sucks too, look at the third trigger. The one where I CLEARACTIONS it. Thats much easier then having to do all that?
06-14-2004, 11:27 PM#9
johnfn
Hmm.

Smart! This is something people might say "Why didn't I think of that?" since the answer is easy and efficent but for some reason no one has thought of it.
06-15-2004, 03:45 AM#10
weaaddar
because people can't read here is a demo map featuring basically the solution I used:

http://weaaddar.wc3campaigns.com/CinSkipE.w3x

Yes thats a stupid cinematic and no I don't care.
06-15-2004, 04:02 AM#11
IlidanStormrage
*HITS HEAD ON WALL*

Damn it I should have known that. GAH!!!! This will make life much friggen easier.

And Vex was saying that he does it this way, and that when you said you have to put a if/then/else you really only need it after waits.
06-15-2004, 02:15 PM#12
iNfraNe
I guess this doesnt work with cinematics that happen more than once :/ meh blizz should really think of something called StopTriggerRemainingActions or something
06-15-2004, 03:46 PM#13
weaaddar
Actually my trick doesn't work at all. BUt I decided to fix it:
This version will also allow the cinematic to fire as many times as you want. I just readd the triggeraction each time.
http://weaaddar.wc3campaigns.com/CinSkipE.w3x
10-28-2004, 02:50 AM#14
Dalten
Quote:
Originally Posted by weaaddar
Actually my trick doesn't work at all. BUt I decided to fix it:
This version will also allow the cinematic to fire as many times as you want. I just readd the triggeraction each time.
http://weaaddar.wc3campaigns.com/CinSkipE.w3x

Does this not work anymore or what? I can't seem to make it stop executing the cinematic...

My hit ESC works, because It runs the next trigger I tell it to, but the dialogs keep going, meaning the trigger doesn't actually get its action cleared out.
10-30-2004, 08:10 PM#15
weaaddar
I tested it, it works pretty well if I remember. I'll admit its been a while and 1.17 might have broken it.