• 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.

Spawned Starting Units

Status
Not open for further replies.
Level 7
Joined
Jul 25, 2008
Messages
292
I have made a map that forces all players to start as the Night Elfs, I want to keep the building but not the wisps. Is there a way to do this? I have tried getting rid of the trigger "Spawn Starting Units" but that also gets rid of the building.
 
Level 5
Joined
Mar 17, 2005
Messages
135
Or you could do this too but a bit more complex.

  • Create Appropriate Barracks
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • If ((Race of (Picked player)) Equal to Human) then do (Unit - Create 1 Blood Elf Barracks for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Just Changed human to nightelft and Blood Elf Barracks to Tree of Life.
 
Level 11
Joined
May 31, 2008
Messages
698
Remember to remove the leak tho (player start location). Set it to a variable and then do custom script: call RemoveLocation(TempLoc). Replace TempLoc with ur var name.

I think that just removing all the wisps after like .1 seconds into game wud be better tho. .1 seconds is to make sure they actually spawn before you try to remove em.
 
Status
Not open for further replies.
Top