• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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