• 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.

How to add Victory Trigger after skipping cutscene??

Status
Not open for further replies.
Level 19
Joined
Aug 1, 2022
Messages
213
Can anyone share an example of a trigger file of a victory pop-up after skipping the cutscene? Like those campaigns after an interlude.
 
Level 29
Joined
Sep 26, 2009
Messages
2,596
Well, in the World Editor you can open blizzard campaign maps to see how they do it.
But basically they do this:
  • they have a boolean variable to determine if cinematic was skipped
  • at the start of the cinematic trigger, they set the boolean value to 'false'
      • Set VariableSet CinematicSkipped = False
  • during the cinematic (basically after any wait) they check the boolean value = if it is true, they skip the rest of the trigger
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • CinematicSkipped Equal to True
        • Then - Actions
          • Skip remaining actions
        • Else - Actions
  • finally, they have another trigger that reacts when player skips the cinematic - that sets the boolean to 'true' and shows victory
      • Cinematic Skipped
        • Events
          • Player - Player 1 (Red) skips a cinematic sequence
        • Conditions
        • Actions
          • Set VariableSet CinematicSkipped = True
          • Game - Victory Player 1 (Red) (Show dialogs, Show scores)
They have it a bit more complicated, as they also set up data for next level, etc., but that's the gist of it
 
Level 19
Joined
Aug 1, 2022
Messages
213
Thank you for this advice. But may ask how can I gain access to the Blizzard Warcraft 3 maps? Do I need a mpq editor just rat it out??
 
Level 29
Joined
Sep 26, 2009
Messages
2,596
I don't know how it was on older patches, but on newest patch you just open World Editor => Open Map and you switch tab from custom maps to blizz campaign
1677141225981.png
 
Level 19
Joined
Aug 1, 2022
Messages
213
Ah. Its alright i already how the method in how load in a map. Thank you for your previous help though. My cutscene pulls the victory pop after skipping it. My first interlude is finally finish
 
Status
Not open for further replies.
Top