How do I set up a trigger so that once player enters it an inventory item does not work on player, and only works on scene hotspots? And then once leaving trigger it works again?
And this will still work with a prefab generated player? By opening the in scene action list, opening player prefab and dropping in the hotspot to a hotspot disable action? Currently it is not disabling it.
Run it from an ActionList asset that references the prefab - it'll add and record a Constant ID number that will be used at runtime to reference the scene instance.
I want to disable the entire hotspot on Player when he enters the trigger, I have tried running the action list outside of the trigger and the hotspot is still active, tried disabling change interaction too and it doesn't work. Any tips?
Comments
Have the Trigger run the Hotspot: Change interaction to disable the Inventory interaction on the Player.
Run it from an ActionList asset that references the prefab - it'll add and record a Constant ID number that will be used at runtime to reference the scene instance.
Screenshots here:
https://www.dropbox.com/scl/fo/tszl4m8lnfbvu7qw0gab6/AA_3b1ontOEfx8BM9abGjO4?rlkey=5cw9ju5f81seuu2w1kkxp2eo4&st=ago2x57u&dl=0
You can disable a Hotspot completely by using the Object: Send message Action to pass its GameObject the "Turn Off" command.