• 🏆 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!

Trigger that caused to desync

Status
Not open for further replies.
Level 11
Joined
Jul 17, 2013
Messages
544
Hi i will post here a trigger can u check him? if hes ok yesterday while playing map only I crashed just meanwhile that trigger was ran, no one else did and it hapenned for frist time
  • Rohan soldier out Copy Copy 2 Copy 2
    • Events
      • Unit - Mordor Orc 0628 <gen> Dies
    • Conditions
    • Actions
      • Unit - Remove Rohirrim 0400 <gen> from the game
      • Unit - Remove Rohirrim 0122 <gen> from the game
      • Unit - Remove Rohirrim 0020 <gen> from the game
      • Unit - Remove Rohirrim 0113 <gen> from the game
      • Unit - Move Merry 0008 <gen> instantly to CenterLetsRide1, facing 0.00 degrees
      • Unit - Make Theoden 0139 <gen> Invulnerable
      • Unit - Make Gandalf the White 0099 <gen> Invulnerable
      • Unit - Make Pippin 0009 <gen> Invulnerable
      • Trigger - Turn off AttackMinas2 <gen>
      • Trigger - Turn off AttackMinas <gen>
      • Set TempGroup = (Units in MinasTirith <gen>)
      • Unit Group - Pick every unit in TempGroup and do (Unit - Pause (Picked unit))
      • Custom script: call DestroyGroup (udg_TempGroup)
      • Unit - Create 40 Mordor Orc Warrior for Neutral Hostile at ReinforcementsMinasCenter1 facing 180.00 degrees
      • Unit - Create 40 Mordor Orc Warrior for Neutral Hostile at ReinforcementsMinasCenter2 facing 180.00 degrees
      • Unit - Create 40 Mordor Orc Warrior for Neutral Hostile at ReinforcementsMinasCenter3 facing 180.00 degrees
      • Unit - Create 12 Rohirrim for Player 10 (Light Blue) at CenterLetsRide1 facing 0.00 degrees
      • Set Rohirrims1 = (Last created unit group)
      • Unit - Create 12 Rohirrim for Player 10 (Light Blue) at CenterLetsRide2 facing 0.00 degrees
      • Set Rohirrims2 = (Last created unit group)
      • Unit - Create 12 Rohirrim for Player 10 (Light Blue) at CenterLetsRide3 facing 0.00 degrees
      • Set Rohirrims3 = (Last created unit group)
      • Unit - Create 12 Rohirrim for Player 10 (Light Blue) at CenterLetsRide4 facing 0.00 degrees
      • Set Rohirrims4 = (Last created unit group)
      • Unit - Create 12 Rohirrim for Player 10 (Light Blue) at CenterLetsRide5 facing 0.00 degrees
      • Set Rohirrims5 = (Last created unit group)
      • Unit - Create 12 Rohirrim for Player 10 (Light Blue) at CenterLetsRide6 facing 0.00 degrees
      • Set Rohirrims6 = (Last created unit group)
      • Unit - Create 1 Eomer for Player 10 (Light Blue) at (Center of Eomer <gen>) facing 0.00 degrees
      • Set EomerOnHorse = (Last created unit)
      • Unit - Create 1 Gamling for Player 10 (Light Blue) at (Center of Gamling <gen>) facing 0.00 degrees
      • Set GamlingOnHorse = (Last created unit)
      • Unit - Create 1 Theoden for Player 10 (Light Blue) at (Center of Theoden <gen>) facing 0.00 degrees
      • Set TheodenOnHorse = (Last created unit)
      • Cinematic - Disable user control for Player Group - Player 3 (Teal)
      • Cinematic - Disable user control for Player Group - Player 4 (Purple)
      • Cinematic - Disable user control for Player Group - Player 5 (Yellow)
      • Cinematic - Disable user control for Player Group - Player 9 (Gray)
      • Cinematic - Turn cinematic mode On for Player Group - Player 3 (Teal)
      • Cinematic - Turn cinematic mode On for Player Group - Player 4 (Purple)
      • Cinematic - Turn cinematic mode On for Player Group - Player 5 (Yellow)
      • Cinematic - Turn cinematic mode On for Player Group - Player 9 (Gray)
      • Camera - Apply Rohan Charge 1 <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Rohan Charge 1 <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Rohan Charge 1 <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Rohan Charge 1 <gen> for Player 9 (Gray) over 0.00 seconds
      • Cinematic - Send transmission to Player Group - Player 3 (Teal) from a Player 10 (Light Blue) Theoden named Théoden at (Center of (Playable map area)): Play No sound and display . Modify duration: Set to 68.00 seconds and Don't wait
      • Cinematic - Send transmission to Player Group - Player 4 (Purple) from a Player 10 (Light Blue) Theoden named Théoden at (Center of (Playable map area)): Play No sound and display . Modify duration: Set to 68.00 seconds and Don't wait
      • Cinematic - Send transmission to Player Group - Player 5 (Yellow) from a Player 10 (Light Blue) Theoden named Théoden at (Center of (Playable map area)): Play No sound and display . Modify duration: Set to 68.00 seconds and Don't wait
      • Cinematic - Send transmission to Player Group - Player 9 (Gray) from a Player 10 (Light Blue) Theoden named Théoden at (Center of (Playable map area)): Play No sound and display . Modify duration: Set to 68.00 seconds and Don't wait
      • Sound - Set music volume to 10.00%
      • Sound - Stop RohanCharge1 <gen> Immediately
      • Sound - Play RohanCharge1 <gen>
      • Wait 5.00 seconds
      • Unit - Order TheodenOnHorse to Patrol To (Center of Eomer <gen>)
      • Wait 10.00 seconds
      • Unit - Order TheodenOnHorse to Patrol To (Center of Eomer <gen>)
      • Wait 10.00 seconds
      • Unit - Order TheodenOnHorse to Patrol To (Center of Eomer <gen>)
      • Wait 10.00 seconds
      • Unit - Order TheodenOnHorse to Patrol To (Center of Eomer <gen>)
      • Wait 10.00 seconds
      • Custom script: call SetUnitAnimationByIndex(udg_TheodenOnHorse, 3)
      • Wait 1.50 seconds
      • Custom script: call SetUnitAnimationByIndex(udg_EomerOnHorse, 3)
      • Custom script: call SetUnitAnimationByIndex(udg_GamlingOnHorse, 3)
      • Unit Group - Pick every unit in Rohirrims1 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 3)
      • Unit Group - Pick every unit in Rohirrims2 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 3)
      • Unit Group - Pick every unit in Rohirrims3 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 3)
      • Unit Group - Pick every unit in Rohirrims4 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 3)
      • Unit Group - Pick every unit in Rohirrims5 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 3)
      • Unit Group - Pick every unit in Rohirrims6 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 3)
      • Wait 18.00 seconds
      • Custom script: call SetUnitAnimationByIndex(udg_TheodenOnHorse, 1)
      • Custom script: call SetUnitAnimationByIndex(udg_EomerOnHorse, 1)
      • Custom script: call SetUnitAnimationByIndex(udg_GamlingOnHorse, 1)
      • Unit Group - Pick every unit in Rohirrims1 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 1)
      • Unit Group - Pick every unit in Rohirrims2 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 1)
      • Unit Group - Pick every unit in Rohirrims3 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 1)
      • Unit Group - Pick every unit in Rohirrims4 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 1)
      • Unit Group - Pick every unit in Rohirrims5 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 1)
      • Unit Group - Pick every unit in Rohirrims6 and do (Actions)
        • Loop - Actions
          • Custom script: call SetUnitAnimationByIndex(GetEnumUnit(), 1)
      • Camera - Apply Rohan Charge 2 <gen> for Player 3 (Teal) over 7.00 seconds
      • Camera - Apply Rohan Charge 2 <gen> for Player 4 (Purple) over 7.00 seconds
      • Camera - Apply Rohan Charge 2 <gen> for Player 5 (Yellow) over 7.00 seconds
      • Camera - Apply Rohan Charge 2 <gen> for Player 9 (Gray) over 7.00 seconds
      • Wait 10.00 seconds
      • Trigger - Turn on AttackMinas <gen>
      • Trigger - Turn on AttackMinas2 <gen>
      • Wait 5.00 seconds
      • Unit - Order EomerOnHorse to Attack-Move To ArmyMinasCenter
      • Unit - Order GamlingOnHorse to Attack-Move To ArmyMinasCenter
      • Unit - Order TheodenOnHorse to Attack-Move To ArmyMinasCenter
      • Unit - Order Merry 0008 <gen> to Attack-Move To (Center of Move Merry <gen>)
      • Unit Group - Order Rohirrims1 to Attack-Move To ArmyMinasCenter
      • Unit Group - Order Rohirrims2 to Attack-Move To ArmyMinasCenter
      • Unit Group - Order Rohirrims3 to Attack-Move To ArmyMinasCenter
      • Unit Group - Order Rohirrims4 to Attack-Move To ArmyMinasCenter
      • Unit Group - Order Rohirrims5 to Attack-Move To ArmyMinasCenter
      • Unit Group - Order Rohirrims6 to Attack-Move To ArmyMinasCenter
      • Camera - Apply Rohan Charge 3 <gen> for Player 3 (Teal) over 12.00 seconds
      • Camera - Apply Rohan Charge 3 <gen> for Player 4 (Purple) over 12.00 seconds
      • Camera - Apply Rohan Charge 3 <gen> for Player 5 (Yellow) over 12.00 seconds
      • Camera - Apply Rohan Charge 3 <gen> for Player 9 (Gray) over 12.00 seconds
      • Wait 12.00 seconds
      • Cinematic - Turn cinematic mode Off for Player Group - Player 3 (Teal)
      • Cinematic - Turn cinematic mode Off for Player Group - Player 4 (Purple)
      • Cinematic - Turn cinematic mode Off for Player Group - Player 5 (Yellow)
      • Cinematic - Turn cinematic mode Off for Player Group - Player 9 (Gray)
      • Cinematic - Enable user control for Player Group - Player 3 (Teal)
      • Cinematic - Enable user control for Player Group - Player 4 (Purple)
      • Cinematic - Enable user control for Player Group - Player 5 (Yellow)
      • Cinematic - Enable user control for Player Group - Player 9 (Gray)
      • Camera - Reset camera for Player 3 (Teal) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 4 (Purple) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 5 (Yellow) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 9 (Gray) to standard game-view over 0.00 seconds
      • Destructible - Kill Rock Chunks 19156 <gen>
      • Sound - Set music volume to 100.00%
      • Unit - Remove TheodenOnHorse from the game
      • Unit - Make Theoden 0139 <gen> Vulnerable
      • Unit - Make Gandalf the White 0099 <gen> Vulnerable
      • Unit - Make Pippin 0009 <gen> Vulnerable
      • Unit - Move Theoden 0139 <gen> instantly to (Center of Move Merry <gen>), facing 0.00 degrees
      • Set TempGroup = (Units in MinasTirith <gen>)
      • Unit Group - Pick every unit in TempGroup and do (Unit - Unpause (Picked unit))
      • Custom script: call DestroyGroup (udg_TempGroup)
      • Wait 30.00 seconds
      • Sound - Play Mumakils <gen>
      • Unit - Create 1 Mumakil for Player 7 (Green) at (Center of Mumak1 <gen>) facing 180.00 degrees
      • Unit - Create 1 Mumakil for Player 7 (Green) at (Center of Mumak2 <gen>) facing 180.00 degrees
      • Unit - Create 1 Mumakil for Player 7 (Green) at (Center of Mumak3 <gen>) facing 180.00 degrees
      • Unit - Create 1 Mumakil for Player 7 (Green) at (Center of Mumak4 <gen>) facing 180.00 degrees
      • Unit - Create 1 Mumakil for Player 7 (Green) at (Center of Mumak5 <gen>) facing 180.00 degrees
      • Unit - Create 1 Mumakil for Player 7 (Green) at (Center of Mumak6 <gen>) facing 180.00 degrees
      • Set Mumaks = (Units of type Mumakil)
      • Unit Group - Pick every unit in Mumaks and do (Actions)
        • Loop - Actions
          • Set TempLoc = (Position of (Picked unit))
          • Unit - Order (Picked unit) to Attack-Move To (TempLoc offset by 6000.00 towards 180.00 degrees)
          • Custom script: call RemoveLocation (udg_TempLoc)
      • Trigger - Turn on ChargeRohirims <gen>
      • Wait 51.00 seconds
      • Trigger - Turn off ChargeRohirims <gen>
      • Trigger - Turn on ChargeRohirims 2 <gen>
      • Custom script: call DestroyTrigger( GetTriggeringTrigger() )
      • Trigger - Turn off (This trigger)
 
Level 11
Joined
Jul 17, 2013
Messages
544
Did you use "Camera - Pan camera as necessary" anywhere? It is known to cause desyncs. If it has to be this trigger, I would also guess that it's one of the Camera actions.
Then how i should move player camera to other place? If it causes desync also what funxtfun suoild i be using instead wait can you post this function? How it should look
 
Status
Not open for further replies.
Top