I cant find an action like 'Finish upgrade' for player or sumthing. I found an action to order a building to research something, but it must be instantly ready. There were also functions to speed up constructions and building upgrades, but no normal upgrades for units or sumthing
I can remember seeing a trigger that was something like {player - set research progress to (100%)), where one can change the percentage. But then i am using WEU, maybe it's an extra included in that editor.
Check it out though.
Edit: I checked the editor, and those were only available for Unit - upgrade, and unit - construct. Not for research. Maybe something like this helps though
Temptrigger
Events
Unit - A unit Begins research
Conditions
Actions
Player - Set the current research level of (Researched tech-type) to ((Current research level of (Researched tech-type) for (Owner of (Triggering unit))) + 1) for Player 1 (Red)
If it doesn't, you can always try setting the upgrade in variables, and when a unit starts the upgrade, if the upgrade is equal to the type you want, set the variable +1, and make the upgrade for that player equal to the variable.
Goodluck!
(P.s. there's no such thing as stupid questions ) ((or at least... hardly any things))
I can remember seeing a trigger that was something like {player - set research progress to (100%)), where one can change the percentage. But then i am using WEU, maybe it's an extra included in that editor.
Im using WEU to, but: 'those were only available for Unit - upgrade, and unit - construct. Not for research'
Code:
Temptrigger
Events
Unit - A unit Begins research
Conditions
Actions
Player - Set the current research level of (Researched tech-type) to ((Current research level of (Researched tech-type) for (Owner of (Triggering unit))) + 1) for Player 1 (Red)
Thnx
(P.s. there's no such thing as stupid questions icon_biggrin.gif )
Except the famous 'how to get lvl 10+ heroes' question