[Trigger] [QUICK] Tech-type problem

Status
Not open for further replies.
Level 5
Joined
Nov 21, 2014
Messages
151
Hey there, I know you can check for which tech-type is researched, but can you also check for the level that this is? (If it's you know the same upgrade with multiple levels) I don't see it in the intiger/real comparison nor in the normal tech-type region. Thanks in advance as always!:thumbs_up::thumbs_up:
 
There is no native function for getting the tech level, so you'll need to keep track of it yourself by using a trigger with the "unit finishes a research" event.
 
Do you guys mean a way to check the lvl something like "GetTriggerTechLvl"?

Other than that, there is this native:

JASS:
constant native GetPlayerTechCount takes player whichPlayer, integer techid, boolean specificonly returns integer

In GUI, you can find it in "Integer Comparrison - Player - Current Research Level"
 
Status
Not open for further replies.
Back
Top