HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

halting a cine with esc, i almost did it!

09-05-2002, 12:02 AM#1
h0pesfall
I almost got a system so that, when every player presses the "esc" key during a cinematic, it skips it.

There's just one problem, once it exits cinematic mode, the other
cinematic trigger actions keep running. I was wondering if
there was a way to halt the current running trigger. Here's what
I have:

First it runs a Cine trigger, then all the cinematic blah blah goes on.

Then I have these triggers:

Events:
Player - Player 1 (Red) skips a cinematic sequence (Or in other words, presses escape)

Conditions:
player1cine Equal to False
cine Equal to True (this is turned to True when the cine trigger is activated, and turned to False when the cinematic sequence is over.)

Actions:
Set player1cine = True
Set cineskipcount = (cineskipcount + 1)
If (cineskipcount Greater than or equal to playernum(this is number of players in game) then do (Trigger - Run Cine End <gen> Ignoring conditions) else do (Do nothing.)

I have one of these triggers for each player.


Then I have the Cine End trigger. What this trigger does is turn off cinematic mode, and put the characters/etc where they would be after the normal cinematic. However, when I do this, the Cine trigger stays active, so even if i'm out of Cinematic mode, I keep getting transmissions from units, and the camera keeps moving etc. I need an easy way to halt the Cine trigger, or an easier way to skip the cinematic if everyone presses escape!

I know this is a long thread and maybe you'll need to read it a few times to understand everything but, if you're a gosu map editor, plz help me. This is just one step blocking me from making a kickazz rpg. Thx! (Note: Disabling the trigger doesnt work, clearing trigger queue doesn't work.)
09-05-2002, 01:36 AM#2
Guest
What you need to do is check the skip status from within your cutscene triggers after every cinematic message, and then do "Skip remaining actions" if the skip status is true.

Like so:

Skip trigger
--------------
Events:
Player escapes a cinematic
Actions:
Set cineskip = true


Cinematic trigger
---------------------
Actions:
Set Camera
Set Letterbox mode
Cinematic message from footman1
If (cineskip = true) then do Skip Remaining Actions else Do Nothing
Cinematic message from paladin1
If (cineskip = true) then do Skip Remaining Actions else Do Nothing
Cinematic message from footman1
If (cineskip = true) then do Skip Remaining Actions else Do Nothing
.
.
.
etc

AV
09-05-2002, 02:33 AM#3
h0pesfall
yes thx i thought of that a few mins ago and tried it it works :)
09-05-2002, 06:39 PM#4
h0pesfall
Ok my cinematic skipping system is fully functional now and bug free :P If anyone wants me to make a detailed post about how to make it just ask.
09-06-2002, 04:17 PM#5
DKSlayer
HAve you guys looked at the BonusCredits Map? It has a skip cin feature in it. I don't know if it has all the features you were looking for but it seems to do the job.
Not to mention that map has a wealth of information in it.
09-06-2002, 04:56 PM#6
Guest
Skipping a cinema isn't hard, but he was working on a system for multiplayer where every player has to hit esc.