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

Plz help me how to spawn units in a certain way

Status
Not open for further replies.
Level 3
Joined
Apr 2, 2013
Messages
25
Sup everybody, i hope someone can help me..

I want to give structures (which u will get at map initializing) a cretain upgrade (new upgrade button:lvl1) to let the strucure spawn certain units in a specific amount of time.. So a spawn in every 10 secondes (infinite) for example..

The next step (new upgrade button:lvl2) , will be another upgrade which will increase the spawning units by 1..

Further i want to make upgrades wich can unfluence the speed (time) of spawns..


I tried with 'data' creating an ability and effect and button to make one, but its harder than i thought.. I cannot find options to influence the time of the spawning units..
Please can someone help me with this??

I would appreciate :)
 
Level 2
Joined
Apr 13, 2011
Messages
13
You can't do this only with the object editor.
What you could possibly do, is create these upgrades via Upgrade Editor and a Trigger that fires up when you complete an upgrade(Make sure you put the right conditions). This trigger would set up a variable with the current "level" of the upgrade.
After that this trigger would call another , that has a Periodic Event, and the time you can put on a variable too. Everytime this trigger fires up you Spawn the units you want next to the structure you want. With this 2 triggers you can control this whole thing.
 
Level 3
Joined
Apr 2, 2013
Messages
25
Omg.. Im stupid.. This is Warcraft 3.. This was meant for Starcraft II.. Forgive me wasting your time.. Thnx anywayz for the effort..
 
Status
Not open for further replies.
Top