• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Hero Removal, Creep Spawn & Leaks

Status
Not open for further replies.
Level 7
Joined
Jun 23, 2009
Messages
297
Ok so I have 3 problems:
1- After a player buys a hero from a tavern, I want it to disappear, I really don't know how to.
2- I'm having serious problems with creep spawns, there's only one trigger:

  • First Wave
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit - Create 3 Guerrero for Neutral Hostile at (Center of Creep Spawn R <gen>) facing (Position of Fountain of Health 0000 <gen>)
      • Unit - Create 2 Arquera for Neutral Hostile at (Center of Creep Spawn R <gen>) facing (Position of Fountain of Health 0000 <gen>)
      • Unit - Create 2 Arquera for Neutral Hostile at (Center of Creep Spawn T <gen>) facing (Position of Fountain of Health 0000 <gen>)
      • Unit - Create 3 Guerrero for Neutral Hostile at (Center of Creep Spawn T <gen>) facing (Position of Fountain of Health 0000 <gen>)
      • Unit - Create 3 Guerrero for Neutral Hostile at (Center of Creep Spawn L <gen>) facing (Position of Fountain of Health 0000 <gen>)
      • Unit - Create 2 Arquera for Neutral Hostile at (Center of Creep Spawn L <gen>) facing (Position of Fountain of Health 0000 <gen>)
      • Unit Group - Pick every unit in (Units in Creep Spawn R <gen>) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack Fountain of Health 0000 <gen>
      • Unit Group - Pick every unit in (Units in Creep Spawn T <gen>) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack Fountain of Health 0000 <gen>
      • Unit Group - Pick every unit in (Units in Creep Spawn L <gen>) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack Fountain of Health 0000 <gen>

But after X seconds, THEY ALL GO BACK, they don't even reach the fountain, I do not know why they do this

And third, I would like to ask somebody to check if my map is leak-proof, they're just a few triggers, so it wouldn't take much more than 30 secs.

Thanks!
 

Attachments

  • Map.w3x
    35.6 KB · Views: 61
Status
Not open for further replies.
Top