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!
Ok im working on a creep war kinda map, and i was wondering if anyone knew a spawn system code in GUI....like in footman vs grunts, if you buy this unit, every 60 seconds or w/e he will spawn here...
hmm..but what im asking is for a trigger...then when player (x) purchases an upgrade, then the triggered upgrade will spawn this...for every (x) seconds
[trigger=First Trigger]First Trigger
Event - Unit buys something
Conditions -
Actions - Turn on Next Trigger
[/trigger]
[trigger=Next Trigger]Next Trigger
Event - Every 60 seconds
Conditions -
Actions - Spawn 01 Unit at Unit_Spawn_Region
Pick Every Unit in Unit_Spawn_Region and order it to Attack-Move to Next_Region[/trigger]
[trigger=First Trigger]First Trigger
Events
An Upgrade is Finished
Conditions -
Upgrade comparison - Upgrade equal to YourUpgrade (or something like that)
Actions - Turn on Next Trigger
Turn off (this trigger)
[/trigger]
[trigger=Next Trigger]Next Trigger
Events
Periodic event - Every 60 seconds
Conditions -
Actions
Unit - Create (Current research level of ability for APlayer) Footman for APlayer at (Unit_Spawn_Region) facing Default building facing degrees
Unit - Order last created unit to Attack-Move to Next_Region[/trigger]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.