I have been unable to find anything about behaviors I would love to see something about creation and modification of behaviors and a description of what they actually are. I mean I get basically what they are but I have a feeling there is more use for them.
seems so obnoxiously more complicated than it should be. So I have since learned that the damage for the unit is under effects but I still can not figure out how I can access that number to add it to a string. Nor for that matter modify it on such an individual level as I can max life or energy or even movement speed. Does anyone have any ideas?
I have been playing with transfering current stats between units. In my map when 1 unit attacks a stat is changed (such as max hp) when this unit dies 2 are spawned else where with the stats the first died with. This is unique for each death so maybe you can use a similar trigger for each time a unit morphs to set the maximum stats to those of the previous form?
Event
Unit is Attacked
Condition
Attacking unit type = zealot
action
Unit set (attacking unit) maximum shields to (((attacking unit) Maximum shield (current)) + 1)
This trigger adds to the units maximum life rather than its shields but other similar triggers (for movement speed, and life) work fine.
Ok so what I am trying to do is make certain stats display for a unit when that unit is selected. I got this to work already for basic things like life and shields but was wondering how I can show a units attack damage as well as how I can modify stats like attack damage from within the triggers. thanks for the help.
hmm...I am trying to follow you directions but it will not let me modify the token name. When i right click and select modify token everything is greyed
out and uneditable. could this be because Im using a larva as base? I'll test this in a few minutes.
0
this helped me a bunch, I was trying to do just that (well not marine) thanx
0
I have been unable to find anything about behaviors I would love to see something about creation and modification of behaviors and a description of what they actually are. I mean I get basically what they are but I have a feeling there is more use for them.
0
I hope you're wrong to lol. time to think outside the box then....hmmmm...
0
seems so obnoxiously more complicated than it should be. So I have since learned that the damage for the unit is under effects but I still can not figure out how I can access that number to add it to a string. Nor for that matter modify it on such an individual level as I can max life or energy or even movement speed. Does anyone have any ideas?
0
I have been playing with transfering current stats between units. In my map when 1 unit attacks a stat is changed (such as max hp) when this unit dies 2 are spawned else where with the stats the first died with. This is unique for each death so maybe you can use a similar trigger for each time a unit morphs to set the maximum stats to those of the previous form?
0
haha I was just about to post this.
Event Unit is Attacked Condition Attacking unit type = zealot action Unit set (attacking unit) maximum shields to (((attacking unit) Maximum shield (current)) + 1)
This trigger adds to the units maximum life rather than its shields but other similar triggers (for movement speed, and life) work fine.
0
Ok so what I am trying to do is make certain stats display for a unit when that unit is selected. I got this to work already for basic things like life and shields but was wondering how I can show a units attack damage as well as how I can modify stats like attack damage from within the triggers. thanks for the help.
0
@verr82: Go
hmm...I am trying to follow you directions but it will not let me modify the token name. When i right click and select modify token everything is greyed out and uneditable. could this be because Im using a larva as base? I'll test this in a few minutes.