There should be a trigger to set the Custom Value of a unit (I'm not 100% sure how it's called in SC2).
Ah, there we go:
Unit - Set (Last created unit) custom value 0 to 100.0
You can make the index no. 0 keep the amount of Strength you have and modify it accordingly. I don't recall having seen a function to actually return the number of stacks of a behavior, but I could be mistaken.
if i add a behavior like strength to a unit and call it an attribute, how do i find out that number in a trigger?
Calling a Behavior like "Strength" and returning the value of it.
anyone have any clue?
@s3rius: Go
i can return this
maybe this is what im looking for already lol