This question is in regards to modding.
Would there be any way for a unit to have an attack/skill that would summon another unit on the field?
This is something that I think could open a lot of potential for new abilities, for example, minions, turrets, cover, status tiles, etc.
Basically is it possible to give a unit the capability to modify the field in any way?
My first thought was somehow utilizing the fact that when a captured unit escapes from another unit it appears next to them as a method of summoning but I couldn’t figure a way to do it when looking through the code.
Another possibility I wonder about. Would it be possible for a unit to carry other friendly units into a battle from before the battle. (I’m aware that balance-wise this is practically cheating, that’s why it’s in regards to mods.)
To summarize:
1) Would the game’s code allow a unit to create a new unit in battle.
2) Would the game’s code allow a unit to bring contained units into battle somehow?