Command & Conquer Tiberium Alliances Forum

Full Version: [NOT SPAM] Game units id
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Does anyone know a way to get the Id's for defense and offense units? The uniqe Id's for buildings can be gathered via the GAMEDATA.Tech[ID] method, but I have not been able to find a way to get unit Id's. I have only managed to get their object names (GDI_Pitbull, NOD_Cobra etc with .get_UnitGameData_Obj...)

Edit: The reason for wanting to get their Id's is to determine if a unit have had its research upgraded (ie. shields for cobra). However, if there is another method to see this, that would work for me as well Smile

For code reference, see the Cncopt script
Reference URL's