• 🏆 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] Replacing Units to Buildings

Status
Not open for further replies.
Level 3
Joined
Nov 15, 2010
Messages
30
Greetings, I'm working on a map, a tower defense to be more precise, and I want to give all players 36 hero spawners at certain locations depending on the race that the player picks, but the world editor only lets me add like 600 structures, no biggie, I decided to trigger it then...

I placed a dummy unit on the spot where I want my spawner and then used this:

  • Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Spawner Dummy) and do (Actions)
    • Loop - Actions
      • Unit - Replace (Picked unit) with a Iron Clan House (Spawns Iron Clan Heroes) using The old unit's relative life and mana
Problem is it only replaces 2! units with structures, what am I doing wrong!?

Thanks in advance.

Never Mind, I found out what It was, silly me
 
Last edited by a moderator:
Status
Not open for further replies.
Top