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

Need help with triggering door

Status
Not open for further replies.
Level 3
Joined
Aug 21, 2014
Messages
23
Hello there everyone! I am making a map and i'm in point i want to make a door open by activating 4 obelisks (Like Arthas frozen throne final campaign) Wonder if anyone could help me please!


Pd: Sorry for my english is kinda rust.
Also: I am kinda newish using World editor.
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
It's just animating the gate ( door ) and create some special effects of fog and smoke and cold in its location

I've attached the cinematic trigger from the map itself :
  • Victory Setup
    • Events
    • Conditions
    • Actions
      • -------- Set Sky --------
      • Environment - Set sky to Fogged Sky
      • -------- Clear Selection --------
      • Selection - Clear selection
      • -------- Revive Hero *** Not Neccessary *** --------
      • Trigger - Run Cinematic Revival <gen> (checking conditions)
      • Set WarderReturnSpot = RevivalReturnSpot
      • Trigger - Run Cinematic Revival <gen> (checking conditions)
      • Set FurionReturnSpot = RevivalReturnSpot
      • -------- Disable XP Gain --------
      • Hero - Disable experience gain for Arthas
      • Hero - Disable experience gain for Anub
      • -------- Pause Time Of Day --------
      • Game - Turn the day/night cycle Off
      • -------- Pause Units --------
      • Unit - Pause all units
      • Unit - Unpause Arthas
      • Unit - Unpause Illidan02
      • Unit - Unpause Illidan03
      • -------- Hide Units --------
      • Set HiddenUnits = (Units owned by AP1_Player)
      • Unit Group - Remove Arthas from HiddenUnits
      • Unit Group - Add Illidan to HiddenUnits
      • Unit Group - Pick every unit in HiddenUnits and do (Unit - Hide (Picked unit))
      • -------- Disable Auras --------
      • Player - Disable Unholy Aura for AP1_Player
      • Player - Disable Vampiric Aura (Neutral Hostile) for Neutral Hostile
      • -------- Remove Buffs --------
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by AP1_Player) and do (Unit - Remove All buffs from (Picked unit))
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by P02_IllidanMainBase) and do (Unit - Remove All buffs from (Picked unit))
      • -------- Disable Leaderboard --------
      • Leaderboard - Hide LeaderboardObelisks
      • -------- Music Theme --------
      • Sound - Play Lich King's Theme
  • Victory Cinematic Q
    • Events
    • Conditions
    • Actions
      • Set InCinematic = True
      • -------- Quest update --------
      • Trigger - Run Quest Obelisk Completed <gen> (checking conditions)
      • Wait Campaign quest delay seconds
      • -------- Fade Out --------
      • Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Wait 1.00 seconds
      • -------- Set Up Scene --------
      • Cinematic - Turn cinematic mode On for APG1_Player
      • Wait 0.25 seconds
      • Trigger - Run Next Level Prep <gen> (checking conditions)
      • Trigger - Run Victory Setup <gen> (checking conditions)
      • Unit - Create 1 Illidan (Evil) for Player 5 (Yellow) at (Center of IllidanEndA <gen>) facing (Center of IllidanEndB <gen>)
      • Set Illidan03 = (Last created unit)
      • AI - Ignore Illidan03's guard position
      • Unit - Change color of Illidan03 to Purple
      • Animation - Play Illidan03's stand animation, using only Common animations
      • Wait 0.25 seconds
      • Environment - Create at (Playable map area) the weather effect Northrend Snow (Heavy)
      • Environment - Turn (Last created weather effect) On
      • Environment - Set fog to style Linear, z-start 800.00, z-end 4000.00, density 0.00 and color (100.00%, 100.00%, 100.00%)
      • Camera - Apply Victory 01 <gen> for AP1_Player over 0.00 seconds
      • Camera - Apply Victory01A <gen> for AP1_Player over 8.00 seconds
      • -------- Fade In --------
      • Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Wait 1.00 seconds
      • Trigger - Turn on Victory Skipped <gen>
      • -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
      • -------- CINEMATIC BEGINS - Cinematic Can Now Be Skipped --------
      • -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
      • Destructible - Open Frozen Throne Gate 1043 <gen>
      • Sound - Play GateOpen <gen> at 85.00% volume, located at (Center of Victory Arthas Move <gen>) with Z offset 0.00
      • Sound - Play FrostmourneLoopUndead01 <gen> at 95.00% volume, located at (Center of Victory Arthas Move <gen>) with Z offset 0.00
      • Wait 1.00 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Animation - Play Arthas's Spell animation, using only Rare animations
      • Cinematic - Send transmission to (All players) from Arthas named King Arthas: Play L08Arthas35 <gen> and display We've done it, Anub.... Modify duration: Add 0.00 seconds and Don't wait
      • Wait for L08Arthas35 <gen> to be 0.00 seconds from finished playing
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Cinematic - Fade out over 1.00 seconds using texture White Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Sound - Stop FrostmourneLoopUndead01 <gen> After fading
      • Sound - Stop GateOpen <gen> After fading
      • Wait 1.00 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Environment - Reset fog to default values
      • Unit - Create 1 Illidan (Evil) for Player 5 (Yellow) at (Center of IllidanAtGate <gen>) facing (Center of IllidanFace <gen>)
      • Set Illidan02 = (Last created unit)
      • AI - Ignore Illidan02's guard position
      • Unit - Change color of Illidan02 to Purple
      • Animation - Play Illidan02's stand animation, using only Common animations
      • Environment - Set fog to style Linear, z-start 440.00, z-end 2500.00, density 0.00 and color (100.00%, 100.00%, 100.00%)
      • Unit - Move Arthas instantly to (Center of ArthasEndStart <gen>), facing (Position of Illidan)
      • Sound - Play HorseLoop1 <gen> at 70.00% volume, attached to Arthas
      • Camera - Apply IllidanEnd <gen> for AP1_Player over 0.00 seconds
      • Camera - Apply IllidanEndA <gen> for AP1_Player over 10.00 seconds
      • Unit - Order Arthas to Move To (Center of ArthasEndEnd <gen>)
      • Unit - Order Illidan03 to Move To (Center of IllidanEndB <gen>)
      • Cinematic - Fade in over 1.00 seconds using texture White Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Wait 2.00 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Unit - Make Illidan03 face Arthas over 0.30 seconds
      • Animation - Play Illidan03's stand animation, using only Common animations
      • Wait 1.00 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Cinematic - Send transmission to (All players) from Arthas named King Arthas: Play L08Arthas36 <gen> and display The Frozen Throne i.... Modify duration: Add 0.00 seconds and Don't wait
      • Wait for L08Arthas36 <gen> to be 0.00 seconds from finished playing
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Wait 0.50 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Cinematic - Send transmission to (All players) from Arthas named King Arthas: Play L08Arthas40 <gen> and display Leave this world an.... Modify duration: Add 0.00 seconds and Don't wait
      • Wait for L08Arthas40 <gen> to be 0.00 seconds from finished playing
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Camera - Apply IveSworn <gen> for AP1_Player over 0.00 seconds
      • Environment - Set fog to style Linear, z-start 200.00, z-end 1500.00, density 0.00 and color (100.00%, 100.00%, 100.00%)
      • Wait 0.30 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Cinematic - Send transmission to (All players) from Illidan03 named Illidan Stormrage : Play L08Illidan37 <gen> and display I have sworn to des.... Modify duration: Add 0.00 seconds and Wait
      • Wait for L08Illidan37 <gen> to be 0.00 seconds from finished playing
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Wait 1.00 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Camera - Apply Never <gen> for AP1_Player over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Arthas named King Arthas: Play L08Arthas38 <gen> and display Never!. Modify duration: Add 0.00 seconds and Don't wait
      • Wait for L08Arthas38 <gen> to be 0.00 seconds from finished playing
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • Wait 0.30 seconds
      • If (VictorySkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
      • -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
      • -------- CINEMATIC ENDS - Cinematic Can No Longer Be Skipped --------
      • -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
      • Trigger - Turn off Victory Skipped <gen>
      • -------- Fade Out --------
      • Cinematic - Fade out over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Wait 2.00 seconds
      • Unit - Remove Illidan02 from the game
      • Unit - Remove Illidan03 from the game
      • Trigger - Run Next Level Run <gen> (checking conditions)
NOTE : I just did nothing but exporting the map from Warxloca.mpq in Warcraft III folder, using MPQMaster :) :goblin_good_job:

I also attached the whole map in case for you... : http://www.hiveworkshop.com/forums/attachment.php?attachmentid=138545&stc=1&d=1408661621

Good luck dude ;)
 

Attachments

  • UndeadX08.w3x
    333.3 KB · Views: 101
Level 3
Joined
Aug 21, 2014
Messages
23
I have to admit i'm having fun making this map, as new on world editor, using triggers and stuff it have been interesting and impresive how triggers can change-up the game mode of a map making it more interesting/fun, after searching and hitting up several triggers i found a way to do it :D - Thanks a lot for the Arthas campaign map! It will help me so much also this how i

PD: My world-editor is in spanish. (My bad.)

did it
VqRJK2d.jpg
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
I have to admit i'm having fun making this map, as new on world editor, using triggers and stuff it have been interesting and impresive how triggers can change-up the game mode of a map making it more interesting/fun, after searching and hitting up several triggers i found a way to do it :D - Thanks a lot for the Arthas campaign map! It will help me so much also this how i

PD: My world-editor is in spanish. (My bad.)

did it

Glad to hear it helped, I can quite understand what's written in Spanish.

You should also know that using the 'Wait' trigger may cause some bugs if your map is Multiplayer. Or the trigger runs for multiple players, but since your turned it off, that doesn't affect
 
Status
Not open for further replies.
Top