Originally Posted by Shinni
I haven't tested this, but I think what you are looking for are variation names.
When you preview an object, you can preview its different variations. In case of furniture these variations are the different states. E.g. when previewing a light source, you can toggle the light on/off by selecting a different variation.
So I think GetPlacedFurniturePreviewVariationDisplayName(furnitureId, variationIndex) does already do what you are looking for.
|
You were 100% correct. The only detail I would point out (for anyone that's interested) is that the Object State Index is 0-based and the Preview Variation Index is 1-based. So just pass Object State Index + 1 to the GetPlacedFurniturePreviewVariationDisplayName function for variationIndex and you're good to go.
And with your help in finding that...
this thread can now be closed. <3