I am trying to write a function in the global script that I can call from any of my rooms that will display "use INVENTORY ITEM on HOTSPOT", eg: "USE BLUE MUG ON ROCK". However, when I use player.ActiveInventory.Name from the global script, the value is always 0. If i make the same call from my room script, the value is correct - the actual name of the inventory object.
I was having this same issue with hotspots as well. What am I missing here?
Thank you!
I was having this same issue with hotspots as well. What am I missing here?
Thank you!