i wanted to be able to cast spells while i burrow a unit, but the spell not be there while unborrowed, but if i use burrow, then all spells are disabled
so instead i added metamorphasis to this unit, changing it so it will be a hidden unit but with the new spells.
my problem is that when i use metamorph on the unit, it gets the new spells like it should, but the unit stays the same and the unit can still walk move and attack...even though i changed the alternate unit form to something completely different. why is the unit not changing models too?
I fear you will need to use triggers for that, if its a non-hero unit you could simply temporarily remove the unit and create an invisible, invincible unit that can neither move nor attack. For a hero it gets more complicated, but like in RotD you could use a secondary hero for that with the same things