- Joined
- Apr 8, 2007
- Messages
- 116
Hi, so basically in my project I'm trying to construct a system for my planes - essentially, a when a plane attacks a ground unit, its "replaced" with an identical clone that cannot attack (out of ammo), and has a "reload" ability, which it uses to return to its original form.
Though I've done this system using unit replace triggers, it's not sufficient, since it creates a new unit and causes the player to lose selection of the unit as well as not being able to make a control group for the unit. I know that somehow I should be able to use modified bear form abilities to try to establish this system with replacing the unit, but somehow I keep running into problems somehow not allowing me to do it. To complicate things further, I need to use a separate "bear form" ability for both reloading, and a different one for changing a regular unit to one "out of ammo", since reloading requires mana, while converting to "out of ammo" needs to cost no mana.
Any ideas on how I might accomplish my goal?
Though I've done this system using unit replace triggers, it's not sufficient, since it creates a new unit and causes the player to lose selection of the unit as well as not being able to make a control group for the unit. I know that somehow I should be able to use modified bear form abilities to try to establish this system with replacing the unit, but somehow I keep running into problems somehow not allowing me to do it. To complicate things further, I need to use a separate "bear form" ability for both reloading, and a different one for changing a regular unit to one "out of ammo", since reloading requires mana, while converting to "out of ammo" needs to cost no mana.
Any ideas on how I might accomplish my goal?