Flamesword
New Member
- Reaction score
- 0
I know that there are upgrades that can change defense type. Using "Unit Acquires item" events and "Set research level of [tech] to [#]" actions is the obvious solution. However, I want to be able to change back and forth at any time by switching out the items. I can't reset those researches back to zero and increase another one, because they cannot be unlearned through triggers.
I havn't tested it, but I have an idea. I can make those defense change upgrades sufficiently numerous (99 levels or so each), and increase their levels through triggers like before without resetting any of them. If I did that, would the most recent upgrade be the one that takes effect, or whichever one is the highest? Or perhaps I would have some kind of crash giving my units conflicting armor types doing that?
Does anyone know if that would or would not work? Or is there another way to do this?
I wanted to do the same thing with attack types too, but I was convinced that wasn't possible. I settled on one alternate attack per unit by adding a modified version of the "Orb Attack" ability to activate the secondary attacks of any given unit. If I have to settle on one alternate defence type here, that will be good enough too.
I havn't tested it, but I have an idea. I can make those defense change upgrades sufficiently numerous (99 levels or so each), and increase their levels through triggers like before without resetting any of them. If I did that, would the most recent upgrade be the one that takes effect, or whichever one is the highest? Or perhaps I would have some kind of crash giving my units conflicting armor types doing that?
Does anyone know if that would or would not work? Or is there another way to do this?
I wanted to do the same thing with attack types too, but I was convinced that wasn't possible. I settled on one alternate attack per unit by adding a modified version of the "Orb Attack" ability to activate the secondary attacks of any given unit. If I have to settle on one alternate defence type here, that will be good enough too.