SRL Archive - Reflection Help

Is there ever duplicate IDs?


Bixby Sayz

2011-08-17 21:14:26

Let me clarify: objects have an id, npcs have an id, items have an id. Is there ever an overlap between the categories?

For example: can there be a object with an id of 23, and a npc with an id of 23, and an item with an id of 23, or is the id truly unique?

Trying to decide how to handle some lookups in a script and this affects how I approach it.

Flight

2011-08-17 21:19:50

Yes they can share IDs in between different categories, but obviously will never overlap in their own category.

Bixby Sayz

2011-08-17 21:31:53

From: Flight
Yes they can share IDs in between different categories, but obviously will never overlap in their own category.


Thank you, that is exactly what I wanted to know. I thought so but wasn't sure.