• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

possible to reset a unit upgrade?

Status
Not open for further replies.
Level 2
Joined
Mar 7, 2005
Messages
23
hey.

i feel noob q.. :P but how much im looking for a way to reset my researched upgrade i just cant find so i decided to ask here.i hope it helps me to save my time.

" info : "
i have 2 upgrade with 5 levels.
player can upgrade it for his unit.
when player use 1 of the upgrades . the other 1 become disable.
after a while.. i want to give possibility to player to reset his upgrade .
so now he can again decide which upgrade he does

something like Tome of Retraining for heros..
i want a way to reset researched upgrades

hope the given info be enough. +rep ofc;)
ty
cheer
 
You can't undo upgrades.

You can however use units as tech requirements. This is if your upgrades are for the purpose of allowing the training of addition units or the use of additional spells you don't wish to be available from the start. Beuty of using units as requirements is you can remove them and it has the effect of resetting research.

If your upgrades are for stat boosting or the like I guess you will have to trigger a result, save the result and remove it when your player/s want to.
 
as toofless said, i dont believe it's possible.. but you could either use some triggers and variables that contains the changes and you just remove them when you don't need them anymore.. or maybe you could add another line of upgrades but with the opposite effects, like the first upgrades increases the HP of units, and then just decrease it again with another set of upgrades.. but the problem here would be you can't reset and relearn the upgrades then..

so the only way i guess is using triggers.. go for some variables give them the values and trigger the effects, after you can easily set all to 0 and start again.. it should be more flexible, too.
 
You can set the level of an upgrade through triggers. Can't remember the exact names but I know it's in there, so something along the lines of:
Event:
Unit acquires item of type Tome of Retraining
Conditions:
Upgrade 1 is at level 0 equal to false OR Upgrade 2 is at level 0 equal to false
Actions:
Set level up tech for Player(triggering player) to 0

Try it, sorry if I don't have the correct names...
 
Ye that function is misleading I don't actually know what it's for because once an upgrade is researched it cannot be un-researched, even through that function.
 
Like I said, that is totally impossible, you simply cannot reset it, it has been asked many many times over the hive, thehelper or at wc3c.
 
hm.. i even think its not possible used to find a way all day long.. no results.. there is a trigger that can set level of a research but nothing much it does.. .

ty for replys.. but would be happy if some1 had an idea.. about this.. ty. ( im gana change the upgrade thingy with something like ability casting.. or buying something instead of doing upgrade and controlling it with triggers.. ) ah :P too bad to change lot of things..

ty
cheer
 
  • Player - Set the current research level of Upgrade Mana to 0 for Player 1 (Red)
This didn't exist 13 years ago. If you search for other 4+ year old posts, you can find several things that were said to be impossible are now possible because 1.31 unlocked several previously impossible things.
 
Status
Not open for further replies.
Back
Top