• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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 :)
 
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.
 
Status
Not open for further replies.
Back
Top