Hey there,
Recently made a cool little UI, i know how important sound cues can be to make everything feel more reactive.
As such, i tried to add a sound being played whenever my button is clicked.
To ensure not everyone gets to hear it, i made sure my device was on instigator only, as such
Sadly for me, despite the following code fully working as intended, no sounds are ever being played.
here’s my code so far-
WeaponBought(Message: widget_message): void=
Amount:= GoldCounter.GetItemCount(Message.Player, 0)
if (Amount >= PricesPistols(0)):
Print("Playing sound success")
AudioPurchaseSuccessful.Play(Message.Player)
# Bunch more logic i won't include here as it is not relevant
else:
Print("Playing sound denial")
AudioPurchaseDenied.Play(Message.Player)
what am i missing here ?
my verse device properly has my audio devices registered