Forum rules - please read before posting.

Play sound when inventory cursor changes?

Hi,

I was wondering if it's possible to play a sound when the cursor changes for an inventory item? I have a lighter in the inventory and when the player clicks on it, the cursor icon switches to the lighter having a flame. I would like for a sound of the lighter being lit to play when this happens. From there the player can drop the lighter icon onto a hotspot. Is this possible? The Use and Examine interactions seem don't allow for this.

Thank you for your time,
Jason

Comments

  • You can create a Use interaction that contains a Sound: Play and Inventory: Select Action to manually select the item after clicking it.  In order for the sound to play, you will need to assign a Default sound prefab in your Scene Manager, and make sure it's Sound type is set to SFX.
  • Thank you, it works perfectly! The Inventory: Select function was the thing I was overlooking.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.