When a unit morphs, is it still the same unit (same UnitID)?
Moderators: Moderators, Content Developer
When a unit morphs, is it still the same unit (same UnitID)?
When a unit like a cruiser or drone engineer morphs, is it still the same unitID afterwards, or does the morph destroy the old unit and create a new one?
- SanadaUjiosan
- Conflict Terra Developer
- Posts: 907
- Joined: 21 Jan 2010, 06:21
Re: When a unit morphs, is it still the same unit (same UnitID)?
I have no idea, but:
I think that is what happens; the old unit is destroyed and the new one is created.
Just a pro-tip, you should probably put general questions like this in Lua Scripts since more (knowledgeable) people look in there and fewer such people look here...
Just some friendly advice
I think that is what happens; the old unit is destroyed and the new one is created.
Just a pro-tip, you should probably put general questions like this in Lua Scripts since more (knowledgeable) people look in there and fewer such people look here...
Just some friendly advice
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: When a unit morphs, is it still the same unit (same UnitID)?
If you use the gadget from CA/ZK then a new unit is created, hence it has a different unitid.yanom wrote:When a unit like a cruiser or drone engineer morphs, is it still the same unitID afterwards, or does the morph destroy the old unit and create a new one?
Re: When a unit morphs, is it still the same unit (same UnitID)?
ok thanks.SirMaverick wrote:If you use the gadget from CA/ZK then a new unit is created, hence it has a different unitid.yanom wrote:When a unit like a cruiser or drone engineer morphs, is it still the same unitID afterwards, or does the morph destroy the old unit and create a new one?
I'm debating designs for YMSAI. The current unit production code is working but horribad. Needs cleaning up, probably a total rewrite.