• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Triggers breaks after loading game

Status
Not open for further replies.
Hi

I'm having a huge issue with a campaign I'm working on. It's a campaign in the same style as the Rexxar campaign, where you transition between maps. I used this guide to set up the transition system, but after I load into a new map I encounter what I assume to be this bug. The only strange thing is that most of my triggers already uses generic events with condition checks, while the problem described in this thread is saying it only applies to specific unit events and such.

The weird part is that only some triggers breaks, while others are working fine. For example;

  • Go To City
    • Events
      • Unit - A unit enters Region 070 <gen>
      • Player - Player 1 (Red) types a chat message containing City as An exact match
    • Conditions
    • Actions
      • Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Unit - Pause adevramies
      • Wait 2.00 seconds
      • Set LeftFromMap = 5
      • Game Cache - Clear all labels of Units in CommonCache
      • Game Cache - Store adevramies as Hero of Units in CommonCache
      • Game Cache - Store (Life of adevramies) as HeroLife of Units in CommonCache
      • Game Cache - Store LeftFromMap as LeftFromMap of Variables in CommonCache
      • Game Cache - Store Map2NewGame as Map2NewGame of Variables in CommonCache
      • Game Cache - Store Map3NewGame as Map3NewGame of Variables in CommonCache
      • Game Cache - Store Map4NewGame as Map4NewGame of Variables in CommonCache
      • Game Cache - Store Map5NewGame as Map5NewGame of Variables in CommonCache
      • Game Cache - Store Map6NewGame as Map6NewGame of Variables in CommonCache
      • Game Cache - Store Map7NewGame as Map7NewGame of Variables in CommonCache
      • Game Cache - Save CommonCache
      • Unit - Unpause adevramies
      • Unit - Remove adevramies from the game
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Map4NewGame Equal to True
        • Then - Actions
          • Game - Save game as Saves\JRPGSave5.w3z and change level to city.w3x (Skip scores)
        • Else - Actions
          • Game - Save game as Saves\JRPGSave5.w3z and load Saves\JRPGSave4.w3z (Skip scores)

  • Coffins
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Interact
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Wood Coffin
          • (Unit-type of (Target unit of ability being cast)) Equal to Stone Coffin
          • (Unit-type of (Target unit of ability being cast)) Equal to Stone Coffin Elevated
    • Actions
      • Animation - Play (Target unit of ability being cast)'s Morph animation
      • Unit - Add Spell Book LOCUST to (Target unit of ability being cast)

  • Skull Path Enter
    • Events
      • Unit - A unit enters Region 007 <gen>
    • Conditions
      • (Triggering unit) Equal to adevramies
    • Actions
      • Set Indoors = True
      • Camera - Apply Skull Camera <gen> for Player 1 (Red) over 2.00 seconds
      • Wait 2.00 seconds
      • Set CinematicCam = True
      • Set CinematicCamObject = Skull Camera <gen>

  • Elevator 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Interact
      • (Target unit of ability being cast) Equal to Crane Rotor 0000 <gen>
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Height of Elevator (1) 7154 <gen>) Equal to 1
        • Then - Actions
          • Destructible - Set height of Elevator (1) 7154 <gen> to 3
          • Destructible - Kill Pathing Blocker (Ground) 7321 <gen>
          • Destructible - Kill Pathing Blocker (Ground) 7322 <gen>
          • Destructible - Kill Pathing Blocker (Ground) 7323 <gen>
          • Destructible - Kill Pathing Blocker (Ground) 7324 <gen>
          • Destructible - Resurrect Pathing Blocker (Ground) 7326 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
          • Destructible - Resurrect Pathing Blocker (Ground) 7327 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
          • Destructible - Resurrect Pathing Blocker (Ground) 7328 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
          • Destructible - Resurrect Pathing Blocker (Ground) 7329 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
          • Destructible - Resurrect Pathing Blocker (Ground) 7330 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
        • Else - Actions
          • Destructible - Set height of Elevator (1) 7154 <gen> to 1
          • Destructible - Kill Pathing Blocker (Ground) 7326 <gen>
          • Destructible - Kill Pathing Blocker (Ground) 7327 <gen>
          • Destructible - Kill Pathing Blocker (Ground) 7328 <gen>
          • Destructible - Kill Pathing Blocker (Ground) 7329 <gen>
          • Destructible - Kill Pathing Blocker (Ground) 7330 <gen>
          • Destructible - Resurrect Pathing Blocker (Ground) 7321 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
          • Destructible - Resurrect Pathing Blocker (Ground) 7322 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
          • Destructible - Resurrect Pathing Blocker (Ground) 7323 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
          • Destructible - Resurrect Pathing Blocker (Ground) 7324 <gen> with (Max life of Pathing Blocker (Ground) 7326 <gen>) life and Hide birth animation
      • Animation - Play the Stand Alternate animation for all doodads of type CD - Rotor - 1 within Region 019 <gen>
      • Animation - Change Crane Rotor 0000 <gen>'s animation speed to 100.00% of its original speed
      • Unit - Pause (Triggering unit)
      • Wait 1.20 seconds
      • Unit - Unpause (Triggering unit)
      • Animation - Change Crane Rotor 0000 <gen>'s animation speed to 0.00% of its original speed
      • Animation - Play the Stand animation for all doodads of type CD - Rotor - 1 within Region 019 <gen>

  • Invisible Canopy 1 Enter
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
    • Actions
      • Animation - Play the Stand Alternate animation for all doodads of type CD - Tree - 1 within Region 001 <gen>


EDIT: The problem has been fixed. Problem and solution can be found here: FourCC breaks in V1.31
 
Last edited:
Status
Not open for further replies.
Top