Hey ive been trying to figure out a way to make this work.
I want a trigger effect that causes units to Grow in scale, gain more health and do more damage over time.
so the longer you keep units on the field the stronger they become.
i havent been able to figure out a way to get all units to individually grow on their own. Any help or suggestions would be great.
The amount you add to the units' custom value is the amount of growth per cycle in percent, so this would be a 1% growth rate. The wait time is the rate of growth, so the longer the wait time the slower the rate of growth. DO NOT MAKE THIS NUMBER 0 or your game will crash. If you want an exponential growth then set up your trigger like this:
Create an Effect of type 'Apply Behavior', and name it "Unit Growth".
Create a Behavior of type 'Buff' and name it "Growth". In this behavior locate "Effect - Effect - Periodic" and link to the above effect 'Unit Growth'. Also in the behavior set "Stats - Period" to the interval at which you want the units to grow.
Create another Behavior of type 'Buff' and name it "Growth (Stacking)". Locate "Stats - Flags" and set it to 'Hidden'. Locate "Stats - Maximum Stack Count" and set it to the maximum number of times you want your units to grow. Keep in mind that 2^10 = 1024, which is BIG for a unit.
Go to the Effect ('Unit Growth') and locate "Behavior - Behavior" and link to the behavior 'Growth (Stacking)'. If "Behavior - Behavior Count" is not 1, set it to '1'.
Do some of your own magic for applying the Behavior 'Growth' to the correct units and create this trigger:
Hey ive been trying to figure out a way to make this work.
I want a trigger effect that causes units to Grow in scale, gain more health and do more damage over time. so the longer you keep units on the field the stronger they become.
i havent been able to figure out a way to get all units to individually grow on their own. Any help or suggestions would be great.
The title is very misleading...I almost came here to say "thats what she said."
Anyway...this looks more like data work then trigger. o.O
Each unit has a custom value you can use as a counter to check their growth level. The trigger would look like this:
The amount you add to the units' custom value is the amount of growth per cycle in percent, so this would be a 1% growth rate. The wait time is the rate of growth, so the longer the wait time the slower the rate of growth. DO NOT MAKE THIS NUMBER 0 or your game will crash. If you want an exponential growth then set up your trigger like this:
This will start all units growing at 2%, then it will double every cycle - so it would be 2%, 4%, 8%, 16%, etc.
@BasharTeg: Go
Do some of your own magic for applying the Behavior 'Growth' to the correct units and create this trigger:
Endless loops kill babies! :(
Cheerio
hey sorry for the late ty but ty guys this was very helpful :P