• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Unexpected problem with caches

Status
Not open for further replies.
Level 4
Joined
Aug 2, 2015
Messages
50
Can u spot the wrong step of these first 2 triggers? Part 2 works as intended (the naga one) where part 1 doesnt.
I dont see any diffrence in trigger setup, both maps have create game cache.
  • win
    • Events
      • Time - timer_30min expires
    • Conditions
      • (Count structures controlled by Player 2 (Blue) (Exclude incomplete structures)) Greater than 0
    • Actions
      • Countdown Timer - Destroy (Last created timer window)
      • Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUES...
      • Quest - Mark Main as Completed
      • Wait 2.00 seconds
      • Game Cache - Store Garithos as Garithos of Terran02 in (Last created game cache)
      • Game Cache - Save (Last created game cache).
      • Wait 6.00 seconds
      • Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
      • Game - Show custom campaign button 2
  • load hero 1
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Game Cache - Restore Garithos of Terran02 from (Last created game cache) for Player 1 (Red) at (Center of garithos <gen>) facing 296.00
      • Set VariableSet Garithos = (Last restored unit)
      • Unit - Change color of Garithos to Teal
      • If (Garithos Equal to No unit) then do (Unit - Create 1 Lord Garithos for Player 1 (Red) at (Center of garithos <gen>) facing 296.00 degrees) else do (Skip remaining actions)
      • Set VariableSet Garithos = (Last created unit)
      • Unit - Change color of Garithos to Teal
      • Hero - Set (Last created unit) Hero-level to 3, Hide level-up graphics
      • Hero - Learn skill for (Last created unit): Devotion Aura
      • Hero - Learn skill for (Last created unit): Holy Light
      • Hero - Learn skill for (Last created unit): Shockwave
  • win
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Count structures controlled by Player 9 (Gray) (Exclude incomplete structures)) Equal to 0
      • (Count structures controlled by Player 11 (Dark Green) (Exclude incomplete structures)) Equal to 0
    • Actions
      • Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUES...
      • Quest - Mark MAINQUEST as Completed
      • Game Cache - Store Gorsh as Gorsh of Naga02 in (Last created game cache)
      • Game Cache - Store Unit as Tyrande of Elf0 in (Last created game cache)
      • Game Cache - Store Unit as Samuro of Orc0 in (Last created game cache)
      • Game Cache - Save (Last created game cache).
      • Wait 6.00 seconds
      • Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
      • Game - Show custom campaign button 2
  • load hero 1
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Game Cache - Restore Gorsh of Naga02 from (Last created game cache) for Player 4 (Purple) at (Center of gorsh <gen>) facing 270.00
      • Set VariableSet Gorsh = (Last restored unit)
      • If (Gorsh Equal to No unit) then do (Unit - Create 1 Gorsh for Player 4 (Purple) at (Center of gorsh <gen>) facing 270.00 degrees) else do (Skip remaining actions)
      • Set VariableSet Gorsh = (Last created unit)
      • Hero - Set (Last created unit) Hero-level to 3, Hide level-up graphics
      • Hero - Learn skill for (Last created unit): Frost Nova
      • Hero - Learn skill for (Last created unit): Endurance Aura
      • Hero - Learn skill for (Last created unit): Cleaving Attack
      • Hero - Learn skill for (Last created unit): Earthquake
 
Status
Not open for further replies.
Top