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

Created unit ends up in the wrong region..

Status
Not open for further replies.
Level 8
Joined
Jul 14, 2010
Messages
235
Have anyone else experienced that you create a unit in a region, but the unit appear in another region on the other side of the map?

  • OverlordSpawn
    • Events
      • Time - Every 360.00 seconds of game time
    • Conditions
    • Actions
      • Set IOverlordHP = (IOverlordHP + 2000.00)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (IOverlord is alive) Equal to False
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Mystic Energy Source 0180 <gen> is alive) Equal to True
                  • (Mystic Energy Source Massive 0182 <gen> is alive) Equal to True
                  • (Mystic Energy Source 0181 <gen> is alive) Equal to True
                  • (Mystic Energy Source 0174 <gen> is alive) Equal to True
            • Then - Actions
              • Unit - Create 1 Icecrown Overlord for Player 11 (Dark Green) at (Random point in Boss Spawn <gen>) facing (Position of Slaughterhouse (Black Citadel) 0079 <gen>)
              • Set IOverlord = (Last created unit)
              • Unit - Set life of IOverlord to ((Life of IOverlord) + IOverlordHP)
              • Special Effect - Create a special effect at (Center of Boss Spawn <gen>) using Objects\Spawnmodels\Undead\UndeadDissipate\UndeadDissipate.mdl
              • Special Effect - Destroy (Last created special effect)
              • Unit - Make IOverlord Rescuable by (All allies of Player 11 (Dark Green))
              • Countdown Timer - Start IOverlordRescueTimer as a One-shot timer that will expire in 50.00 seconds
              • Game - Display to (All allies of Player 11 (Dark Green)) the text: The Icecrown Overlo...
            • Else - Actions
              • Trigger - Turn off (This trigger)
        • Else - Actions
          • Game - Display to (All allies of Player 11 (Dark Green)) the text: Summoning of The Ic...
Thats the spawning triggers.... And I have also made a trigger for the boss fight: Units spawn and make him unvulnerable until they are dead. The trigger that spawns these units is depending on that the boss has entered "Boss Spawn":

  • Icecrown Overlord Enters
    • Events
      • Unit - A unit enters Boss Spawn <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Icecrown Overlord
    • Actions
      • Set IcecrownOverlord = (Entering unit)
But the boss is spawning on the other side of the map, in center of another region, but the Spawning of units for the boss fight still works. That means he has been in the "Boss Spawn" region. But has been moved?? There is no trigger that makes him move instantly or anything..

Thanks
 
Status
Not open for further replies.
Top