View Single Post
Old 11-16-2003, 02:23 PM   #1 (permalink)
CodeCat
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,279
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default Deploying units / converting them to other units

Ok, I want to be able to deploy a unit like the Nuke Cannon. The only difference is, my unit has a different weapon for mobile/deployed states. If I tell it to attack ground it will obviously just stay mobile and attack it with primary weapon. So can I make a button that will tell the unit to deploy (so it gets the different weapon)?

And another thing, similar: I want units to turn into other units/buildings like the deploy-style things in Tiberian Sun/RA2. So if you upgrade a unit so it turns into another unit using ReplaceObjectUpgrade (from ZH), will the new unit retain the hitpoints of the original? Or will it just start off as new?
CodeCat is offline   Reply With Quote