• 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] How u make it increase the lvl of the spawned units over time?

Status
Not open for further replies.
a periodic time event "Time - Game Time elapsed (or w.e) = "what ever time you want the first upgrade to occur" then actions of "Pick everyunit in playable map area owned by "neutral hostile, or whomever owns the creeps" and, "set level of Picked unit to level of picked unit + 1"

then have another trigger that gets turned on by the above trigger with a periodic event of the same time that the above trigger was or whatever.

o, and put this custom script before the "Pick every unit" action

Custom Script: set bj_wantDestroyGroup = true

so just copy the set bj_wantDestroyGroup = true part and paste it in the custom script. its an action at the top of the list
 
I want to know how to increase the lvl of the spawned units over time, so like at first they start at lvl 1 then increase to lvl 2 then to lvl 5 or something.:confused:
Every % seconds, set varible to +1. Then spawn a unit of (varible) level.


Im not sure though, might only work if there heros, there might not be a action of creep level...
 
Status
Not open for further replies.
Top