Upgrading Single Units?

PiCkstix

New Member
Reaction score
18
I, at the moment, would like to know how, if it is possible, to do an upgrade on a single unit only. eg. Upgrading the attack of a single footman and not all the footmen on the map and being trained.

If this is possible, could somebody please help me.

Thanks. :thup:
 

Atreyu

One Last Breath.
Reaction score
49
Another model is possible.

A ... Hmmmm..... Priest for example, change its model to a footman and apply it all to the priest.
 

Samael88

Evil always finds a way
Reaction score
181
Give an ability to the footman with a casting time and do this:
Event.
Unit finishes casting ability
Conditions.
Unit-type equal to Footman
Ability equal to upgrade
Actions.
Change the casting unit to the knew unit.
Or
Add an item damage increase or another invisible stat increase ability.

That is possible:thup:
 

PiCkstix

New Member
Reaction score
18
Ok, I make a unit eg. Footman with some form of rank. How does the rank improve, automatically?

Edit: Only problem is I must use ranks =/ (Ah, I have an example, Revenge of the Skeletons by AceHart, thats what I'm talking about.)
 

Samael88

Evil always finds a way
Reaction score
181
Ok, I make a unit eg. Footman with some form of rank. How dos the rank improve, automatically?

You could use integers and custom value for this one.

Event.
Whenever unit kills a unit.
conds.
Unit is footman.
Actions.
customvaluetemp = custom value of killing unit.
set kills[customvaluetemp]= kills[customvaluetemp] + 1
If customvaluetemp = 20
then upgrade unit ability to next level.
 

PiCkstix

New Member
Reaction score
18
But if I do the upgrade eg. Priest Adept training, it will include all other units using the upgrade... not just the one unit.
 

Samael88

Evil always finds a way
Reaction score
181
But if I do the upgrade eg. Priest Adept training, it will include all other units using the upgrade... not just the one unit.

What? Don't use upgrades for single units, use an ability for the upgrade.

Is it like this you want it?
Unit gains ranks by kills?
Then you can use an ability as a spell, and just add a new if/then/else for each rank, it is not that complicated, and oh, you need to set the custom value of each unit created. You may want to use pui or something for that.
 

PiCkstix

New Member
Reaction score
18
I have a better idea, which I think will work. As someone said on this thread, I think, replacing the unit could work. I will try it.
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
i think aceheart did it the same way:
made 3 different skelettons each with a different upgrade used
 
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