Instead of a Remove/Create trigger, make a small storage area where the units can be moved while they're not used. When you switch weapon, just move the appropriate unit into the playing field, and the other one back into storage. Giving the stored unit to an arbitrary player (Player 12 for example) is preferable. Here's an example :
Trigger |
Description: |
Switch Weapon |
|
Players: |
¤ Player to switch for |
Conditions: |
¤ The condition you got |
Actions: |
¤ Center location "The Location" on "Unit 1"
|
¤ Give "Unit 1" to Player 12
|
¤ Move "Unit 1" for Player 12 from "The Location" to "Storage"
|
¤ Move "Unit 2" for Player 12 from "Storage" to "The Location"
|
¤ Give "Unit 2" at "The Location" to Current Player |
There, it doesn't heal the other units constantly.
[right][snapback]521282[/snapback][/right]
If I understood the first post correctly, this will not help. For example: you had a 1/100 HP marine, and you changed itno a 100/100 HP gohst. How's that helping ?
. Look it up in the tutorials. (sorry, I am too lazy to do that for you.)