what does unitDefID mean?
Moderator: Moderators
what does unitDefID mean?
I see the word unitDefID alot on Lua call-in's and call-out's, often in the same context as unitID and teamID
Re: what does unitDefID mean?
every unit has a unitID, a unique number for each unit.
every unittype has a unitDefID, it is also a number and unique to that unittype
every unittype has a unitDefID, it is also a number and unique to that unittype
Re: what does unitDefID mean?
The same dichotomy applies to weapons;
A type or class of weapon, (or a weapon definition; hence weaponDefID) vs. an individual instance of that weapon on an individual unit.
A type or class of weapon, (or a weapon definition; hence weaponDefID) vs. an individual instance of that weapon on an individual unit.
Re: what does unitDefID mean?
Lassie is a unitID
Dog is a unitDefID
Dog is a unitDefID