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

[Trigger] Spawn upgrade

Status
Not open for further replies.
Level 5
Joined
Nov 1, 2007
Messages
71
Hello, I was wondering if someone can help me with a bit of a regarding adding units to a spawn.

I'm trying to make it so that if you buy a certain upgrade[or a new unit], that new unit gets added to your spawning "pool"

Any help would be appreciated, I can't seem to find a way to do this.
 
Level 4
Joined
Mar 6, 2007
Messages
73
Set the spawn unit number to "current research level of (your upgrade) for (the player)" x ?. So if the level is 0 (no upgrades) it will spawn no unit and ? more for each lvl or your upgrade. (if ? = 1 it will spawn 1 more units per lvl of the upgrades, if ? =2 ...)
Hope this help.
 
Status
Not open for further replies.
Top