First i would like to say that i love this community here. So damn active. Speed of my learning galaxy editor will be so damn boosted! Thank you a lot guys!
Have that said, i would like to ask another question:
Whats the most simple way to create region on the map where units will be healed over time? I dont want instant "set units hp to 100%" or any other things that might render units invulnerable there. I just need a way to make mechanical units repair themselfs as well as biological heal without medics nor SCVs.
make a buff that has a duration that lasts for ever. within this buff make the periodic period .5 seconds . You will see in this same buff there is a field called "periodic effect" . Put a search area effect in there... Inside the search area effect put in an apply behaviour effect. Then make your apply behaviour effect link to a buff behaviour . set this buff duration to be .6 seconds. Now go to modification field within this buff, find unit tab... and set its regeneration rate to whatever you want. when you finished making this. Apply your base buff to whatever unit you what to be as the "healer"
First i would like to say that i love this community here. So damn active. Speed of my learning galaxy editor will be so damn boosted! Thank you a lot guys!
Have that said, i would like to ask another question:
Whats the most simple way to create region on the map where units will be healed over time? I dont want instant "set units hp to 100%" or any other things that might render units invulnerable there. I just need a way to make mechanical units repair themselfs as well as biological heal without medics nor SCVs.
Thank in advance. Regards Muniek
@Azzaaer: Go
Check out an auras tutorial, once you get your head around how auras are done, this will be easy for you :)
Heres a link to one that does a speed increase i believe. Can just do a hp regen effect instead.
http://forums.sc2mapster.com/development/tutorials/1582-video-data-aura-abilities/
make a buff that has a duration that lasts for ever. within this buff make the periodic period .5 seconds . You will see in this same buff there is a field called "periodic effect" . Put a search area effect in there... Inside the search area effect put in an apply behaviour effect. Then make your apply behaviour effect link to a buff behaviour . set this buff duration to be .6 seconds. Now go to modification field within this buff, find unit tab... and set its regeneration rate to whatever you want. when you finished making this. Apply your base buff to whatever unit you what to be as the "healer"
If its in a non-moving region, its very easy to do with triggers. Do a periodic event.
actions:
pick each unit in unit group (units in region (healing area) with alliance to player (whatever team the healing thing is for)) and do actions
{
here you would add something like "modify/add unit property for picked unit"
}
to me thats WAY easier than data editing.
@zeldarules28: Go
thanks, i will give it a shot soon.
@zeldarules28: Go
Easier than data editing yes, but anytime you don't have to use a trigger, you should not use a trigger, at least from a performance standpoint imho.