I'm trying to make a Mechanical Animal ability that uses Chaos to transform the animal into the unit I want. The Chaos transformation transforms a summoned unit, in response to a "unit being summoned" event. That all works fine, but when the unit is transformed, I also want to give it several abilities, but I can't use the "summoned unit" reference anymore, when Chaos transforms the unit.
Q: How can I store store the transformed unit so that it can be given abilities?
I tried or considered, but it didn't work out:
- storing the point of the summoned unit, then make a unit group matching criteria within range of that point and give them the abilities
- check for units entering the playable map area and give them the abilities, if they match
- just making it manual to have the abilities added
I also don't want to make additional unit types with and without the abilities and have them spawn instead, because there are too many different unit types that can be spawned and it would be cumbersome to make them.
Q: How can I store store the transformed unit so that it can be given abilities?
I tried or considered, but it didn't work out:
- storing the point of the summoned unit, then make a unit group matching criteria within range of that point and give them the abilities
- check for units entering the playable map area and give them the abilities, if they match
- just making it manual to have the abilities added
I also don't want to make additional unit types with and without the abilities and have them spawn instead, because there are too many different unit types that can be spawned and it would be cumbersome to make them.