I think creative_prop and creative_object should be unique/comparable. I can’t imagine why we can’t compare them and it would be really useful. If I missed something, feel free to tell me how do make those unique. I would appreciate it.
You’re right, they are not, but you can make your own by caching their position and comparing those when script starts
I considered this, but it’s an unreliable workaround because there could be two props with the same transformation. On top of that, moving stuff will add some undesirable complexity. The only reliable way to test if two props are different from each other would be comparing positions, changing one position, comparing them again and changing it back.
I would basically need to map wrapper to prop and check the entire maps props to make sure that I don’t create two separate wrappers for the same prop.
It’s getting very wasteful at that point imo.
Well I do this in one of my map, but it would work even after prop has been moved because you assign an identifier at game start as I said earlier.
I only compare positions at start and assign an <unique> class to my props so I can compare them later
@Daigoro Thank you for your feedback. While I cannot guarantee a response, I can confirm that this has been forwarded to the appropriate team.
Are there any news on this? Is this by design or just not done yet?
I find it very limiting that devices can not be compared and using position seems like a very bad workaround as moving devices around in the level might suddenly cause behavioral changes. I e.g. often have npc spawners of different types at same position.
The issue is, that the Verse instances are like device wrapper/proxies. So while two editables might point to the same device, they are separate instances and the engine doesn’t make sure that there is just one object per device. It isn’t intended, that they aren’t unique
, but it also doesn’t seem like the devs care enough to prioritize it.