With this plugin one can add script calls to an Item's note box, and those codes will run when the item is used.
I'm using it to add custom sounds to each healing item, but the issue is...
If an Actor with full HP tries to use the healing item (from the menu), it will be consumed regardless, instead of playing the "buzzer sound" like it does as default.
The code I'm using is:
That's all there is in the Note box. If I remove it, the item works as it should and it's not consumed if the HP is full.
So I don't know how to proceed... Please can someone help me with this? 🙁
I'm using it to add custom sounds to each healing item, but the issue is...
If an Actor with full HP tries to use the healing item (from the menu), it will be consumed regardless, instead of playing the "buzzer sound" like it does as default.
The code I'm using is:
JavaScript:
<call:AudioManager.playSe({name: 'Heal1', pan: 0, pitch: 100, volume: 100});>
That's all there is in the Note box. If I remove it, the item works as it should and it's not consumed if the HP is full.
So I don't know how to proceed... Please can someone help me with this? 🙁