• 🏆 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!

[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