Replacing Units

Aaahn

New Member
Reaction score
1
Hello there! I got a bunch of questions about replacing units.
-When you replace a unit, does its custom value change?
-When you replace a unit thats in a unit group, will that unit still be in the unit group?
-How can I make so that when a replaced unit dies, it changes back into its orginal form?
 

tom_mai78101

The Helper Connoisseur / Ex-MineCraft Host
Staff member
Reaction score
1,732
1. It changes to that newly replaced unit
2. I think so.
3. Play animation? Create a dummy that's the same as the original form and play its animation, then destroy the dummy unit?
 

Bloodcount

Starcraft II Moderator
Reaction score
297
about the third one

E.a unit dies
C
A if type of dying unit equal to <your unit> then replase dying unit with <the origanl form> with the units's max hp and mana or


create 1 unit of type<your unit> for owner of triggering player at place of triggering unit.
 

Aaahn

New Member
Reaction score
1
Thanks for the help everyone! I think i know everything i need to know about this now!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top