Quick question for my fellow Defolders… I know I can use
print(msg.url())
to find the URL of a script by adding it to the init function, but how do I find the URL of a game object that was loaded by a Collection Proxy? As well as an object generated by a Factory which was also loaded by a Collection Proxy?
Yes, I am down the rabbit hole on this one HAHAHA!
I don’t know if this is the best solution, but so far its working!
I basically created a separate script titled “locator.script” with only
print(msg.url())
in the init function. I then attach it to whatever Game Object I need located and Bob’s your Uncle, instant URL. (Works to get Collection Proxy & Factory URLs too)
PRO TIP: Copy and paste it and comment it out at the top of your Game Object for handy reference.