Attributes are set on the catalog level. You can set them using the data editor - it's a field under Unit objects. I'm not sure if you can use Catalog Field Value Set to change them after map initialization, though. You could certainly try that.
With the GUI updates you should be able to get the catalog fields using drop down boxes. Otherwise, you can look up the fields in the data editor by enabling the "View Raw Data" option.
I probably should have defined what I was trying to do first off...
Looks like this will not work from what Im trying to do.
I want to spawn an enemy unit and assign it a color, Red, Blue or Green.
My hero has a 3 spells Kill Red, Blue or Green.
The Red spell only works on Red enemies, Blue spell on blue etc...
I'm guessing I do this thru effects and behaviors.
Yep, guess it would me much easier through dummy behaviours and validators. I mean the "behaviour count" vaidators, used by the ability to check the target unit.
How do you set a Unit's Attribute? Not hero attributes The unit attributes with check boxes for Armored, Bio, Robitic, etc.
Im looking in Triggers > Actions > Units and don't see anything. - Set Unit Property looked promising but I havn't found anything.
Thanks!
@merrillphish: Go
Attributes are set on the catalog level. You can set them using the data editor - it's a field under Unit objects. I'm not sure if you can use Catalog Field Value Set to change them after map initialization, though. You could certainly try that.
I see where to do it in the Object editor. Simple check boxes.
I want to do this in game with triggers on a regular basis. Is that possible?
The "Catalog Field Value Set" looks a little scary. It looks like I have to type in values?
http://www.hiveworkshop.com/forums/trigger-gui-galaxy-ai-scripts-657/catalog-functions-178518/
This looks a good how to tutorial on how to use this action.
@merrillphish: Go
With the GUI updates you should be able to get the catalog fields using drop down boxes. Otherwise, you can look up the fields in the data editor by enabling the "View Raw Data" option.
I probably should have defined what I was trying to do first off...
Looks like this will not work from what Im trying to do.
I want to spawn an enemy unit and assign it a color, Red, Blue or Green.
My hero has a 3 spells Kill Red, Blue or Green.
The Red spell only works on Red enemies, Blue spell on blue etc...
I'm guessing I do this thru effects and behaviors.
@merrillphish:
Yep, guess it would me much easier through dummy behaviours and validators. I mean the "behaviour count" vaidators, used by the ability to check the target unit.
@FunBotan: Go
Im looking under the snipe ability.
Which field would I modify to check for target buff/behavior?
I see target filters?
@merrillphish: Go
add an validator to the first effect of the ability
Thanks guys got it! This is what I did.