Attributes are:
Defined in the UNIT subdirectory.
They include:
Armored, Biological, Heroic, Hover, Light, et cetera.
I must be missing something obvious, but I can't find a way to modify this anywhere in the DATA EDITOR. I'm not talking about triggers, I mean purely through the data editor.
For example. I have an ability. My ability targets your unit. Your unit is no longer considered 'Heroic'. It removes the Heroic attribute and replaces it with a Light attribute for as long as I define my ability to last.
Matter of fact, I thought this would be easy to do in the trigger editor, but I can't find it there either.
Seems like it should be easy but as far as I can tell that's something that's based purely on the unit type and not an individual unit.
I think it is possible though: make your ability force the unit to morph between two very similar units but one has the heroic attribute while the other has the light attribute. Make that ability give a behavior -> when that behavior expires, force the unit to morph back (by using, for example, an issue order effect).
There are a few stats that cannot be dynamically modified, attributes is one of them. You must use a morph ability to compensate. See, for example, Zerg burrowing - burrowing could be accomplished very easy with a behavior except in order to modify the collision and attribute flags they need to use a morph.
Attributes are: Defined in the UNIT subdirectory. They include: Armored, Biological, Heroic, Hover, Light, et cetera.
I must be missing something obvious, but I can't find a way to modify this anywhere in the DATA EDITOR. I'm not talking about triggers, I mean purely through the data editor.
For example. I have an ability. My ability targets your unit. Your unit is no longer considered 'Heroic'. It removes the Heroic attribute and replaces it with a Light attribute for as long as I define my ability to last.
Matter of fact, I thought this would be easy to do in the trigger editor, but I can't find it there either.
Anyone help?
@KerenskyLI: Go
Seems like it should be easy but as far as I can tell that's something that's based purely on the unit type and not an individual unit.
I think it is possible though: make your ability force the unit to morph between two very similar units but one has the heroic attribute while the other has the light attribute. Make that ability give a behavior -> when that behavior expires, force the unit to morph back (by using, for example, an issue order effect).
There are a few stats that cannot be dynamically modified, attributes is one of them. You must use a morph ability to compensate. See, for example, Zerg burrowing - burrowing could be accomplished very easy with a behavior except in order to modify the collision and attribute flags they need to use a morph.
Morphing it is, alrighty then thanks a bunch.