Hey abventure creators! What would be the best practice to enable the player to explore hotspot names (but not being able to click them) during dialogs/speech.
Am I missing a more elegant approach opposed to disabling the input manually in every dialog actionlist?
Comments
As in, be able to mouse-over the screen to reveal Hotspot labels, without being able to click on them?
Such labels aren't shown during dialog by default - have you enabled the Allow regular gameplay during Conversations? option?
Probably the best way is to use an input override script that prevents use of the InteractionA input when the mouse is over a Hotspot and some other condition is met (e.g. during a conversation). The Manual's "Remapping inputs" chapter covers this concept.
What's the exact approach - screenshots if possible - that you're taking now, and what are the conditions for which such a script should kick in? For example, when an ActionList with a given tag is running?
Yes, that is exactly the intention.
We were at two conventions with our game demo and we noticed that a surprisingly high number of players wanted to have the possibility to search the scene while listening to dialog.
To be honest the only solution I have so far would be the option you mentioned above and manually disabling movement and the hotspot interactions during the conversation. (still noobish at C# but I'm learning
Your idea to tag an actionlist to have a script kick in sounds great! It would need to disable InteractionA over hotspots and also disable player movement if AC would need to be set to allow regular gameplay during conversations.
Something like this should do it. You'll need to define a Tag in its Inspector that will cause it to kick in when an ActionList with the same Tag is run.
Thanks alot for checking it out, Chris! I will try it out later when I am back home!