HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

upgrade available?

08-04-2006, 10:51 AM#1
Doomhammer
I'm about to create a 'triggered AI', which among other things, has to decide to either use gold for research, or for buildings, and chose the best solution.
my question:
Is there a simple way to find out if a research is available?
To get more into detail: I've made one integer array per race, which contains about 18 research Ids each, so I'd like to loop through the array and find out if the tech type can be researched or not (because it's requirements are not complete)
upgrade available? - Wc3C.net