Hi.
I am trying to update some older code with the newer FindCreativeObjectsWithTag and most everything seems ok, except I am getting this error that no overload of the function matches. The program worked fine with the deprecated GetCreativeObjectsWithTag and nothing else has changed in the code except trying to update to the FindCreativeObjectsWithTag. Device_reference is the tag name for the Verse device and my_creative_device inherits from creative_device class, so I am not sure what the issue is. If I revert back to GetCreativeObjectsWithTag everything still works. I was just trying to update it.
FindCreativeObjectsWithTag can only be used in creative_devices or by referencing one like MyDevice.FindCreativeObjectsWithTag()
Currently the most simple way seems to utilize weak_maps and get the session as the key to save a device from a creative_device to later reference in other pieces of code.
Thanks for that thread link. I tried doing a direct reference like MyDevice and it clears the error but doesn’t work. I will give the weak_maps approach a try.
Pretty cool tutorial, nice job thks for the credit at the start too .
I was thinking about making some simple tutorials for some snippets I might post and wondering if you had any tips/advice to give regarding tutorials (Also I’m mineblo not mineblown lol)