GUID AND dbid (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series



Message


mardesich -> GUID AND dbid (1/17/2019 4:04:10 PM)

I don't understand when to use the GUID or the dbid in LUA AND where do you find these values?
Thanks for any help.




Whicker -> RE: GUID AND dbid (1/17/2019 4:18:05 PM)

what are you trying to do?

The only time I have needed the DBID is for setting/changing loadouts, and you can see it in the db viewer for that unit - they are all listed.

As for a units GUID, you can rightly click a unit and one of the options if you are in editor mode will be to copy the name and guid to the clipboard.

As long as your units are all named differently you can just use the unit name... the guid and side help to make sure it is the correct unit if there are duplicates of the same name - which is easy to have on things like Ammo Bunkers or other common facilities. Other units could be duplicates also but you usually end up with different names in my experience.




mardesich -> RE: GUID AND dbid (1/18/2019 1:01:31 PM)

Thanks. This clears up my confusion.
Really appreciate your help.




Gunner98 -> RE: GUID AND dbid (1/18/2019 1:39:25 PM)

quote:

he only time I have needed the DBID is for setting/changing loadouts,


There are a few other occasions as well, such as adding a unit but its a lot less than needing the GUID




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.75