Butters Posted February 24, 2018 Posted February 24, 2018 Say I have a situation where doing something by object name is not sufficient (all items have the same name) What's different - object ids and models ids. What would be the proper way to distinguish these items so it's least prone to break - hardcode object id or model id? Thanks
Eagle Scripts Posted February 24, 2018 Posted February 24, 2018 I'd go for model ids myself. Are you sure positions are not something you can work with as well? 1
Butters Posted February 24, 2018 Author Posted February 24, 2018 6 minutes ago, Eagle Scripts said: I'd go for model ids myself. Are you sure positions are not something you can work with as well? Nah it's an inventory item 1
liverare Posted February 26, 2018 Posted February 26, 2018 Items? You can use IDs for items, as I doubt they've ever changed and are unlikely to. Game objects? You should use names where possible. If not, model ids are also fairly consistent too.