• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Cinematic skipping problem.

Status
Not open for further replies.
Level 4
Joined
Jan 25, 2009
Messages
117
I got a problem when i make a trigger to skip the cinematic. The cinematic mode turns off but the transmissions from units still keep coming. But i dont see the text. Hope you can help me.
 
Level 7
Joined
May 11, 2008
Messages
576
I think he used this trigger
  • Cinematic Skip
  • Events
  • Player - Player 1 skips a cinematic sequence
  • Conditions
  • Actions
  • Cinematic - Turn cinematic mode off for player 1
I think thats why.
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
You should stop the trigger that does the transmissions,,
I dont know if there is any way to stop just one trigger, but you should not only turn it off,,
@ Avator,, the event is right,, it is the same, but they called it something else,,
If you select the event, it says on the bottom of the selection screen that it runs when 'escape' is clicked, also if cinematic is off,,
 
Level 9
Joined
Apr 3, 2008
Messages
700
Avator said:
Isn't that event just 'A player presses Esc'?
Hmm, It's 100% not avaible on GUI, and I didn't find it in Jass.
What event can I use instead of skipping cinematic to detect Esc press?
Is it function like functions for arrow keys?
JASS:
bj_KEYEVENTTYPE_DEPRESS, bj_KEYEVENTKEY_LEFT
bj_KEYEVENTTYPE_DEPRESS, bj_KEYEVENTKEY_RIGHT
bj_KEYEVENTTYPE_DEPRESS, bj_KEYEVENTKEY_DOWN
bj_KEYEVENTTYPE_DEPRESS, bj_KEYEVENTKEY_UP

Avator said:
Skip remaining actions
Yes,
  • Skip remaining actions
is just
JASS:
return
It skips all remaining action of trigger.
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
The Esc Event in jass is EVENT_PLAYER_END_CINEMATIC


Anyhow, like stated above, have a secondary trigger which checks if the cinematic sequence if skipped. Then, set a boolean variable to true, like
  • Set IsCinematicSkipped = true
(remember to make it initially set to false)

As far as I have seen in the Blizzard cinematics, they check with an if condition every now and then, if the boolean is true.
Like:
  • If (IsCinematicSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
However, those Do Nothing really sucks, so the following should be made instead.
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • IsCinematicSkipped Equal to True
    • Then - Actions
      • Skip remaining actions
    • Else - Actions
 
Status
Not open for further replies.
Top