Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NOT SPAM] Game units id
Author Message
ArveK Offline
Junior Member

Posts: 12
Joined: Feb 2014
Post: #1
[NOT SPAM] Game units id

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
(This post was last modified: 19-04-2017 07:48 PM by ArveK.)
19-04-2017 07:42 PM
 Search   Quote 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)