I have Dialogue System Trigger set to On TriggerEnter with the following sequence:
AudioWaitOnce(VoiceOvers/Tutorial/Tut-1)->Message(Done);
The audio triggers once then when I come back into the trigger, the audio plays again.
From the docs, I expect the audio to play once then not play again if the player leaves and comes back into the trigger. Do I understand that correctly? Any clue?
Syntax: AudioWaitOnce(clip[, subject[, clips...]])
Description: This command works like AudioWait() except it will check for an internal Lua variable of the entrytag/audioclip name, and if it exists/is true, the audio will be skipped. After one playback, the variable will be created and marked as true.
AudioWaintOnce continues to trigger
Re: AudioWaintOnce continues to trigger
Hi,
The fix for that is coming in v2.2.48. Here's a patch:
DS_AudioWaitOncePatch_2024-09-29.unitypackage
The fix for that is coming in v2.2.48. Here's a patch:
DS_AudioWaitOncePatch_2024-09-29.unitypackage
Re: AudioWaintOnce continues to trigger
Thank you so much! Works like a charm.
Re: AudioWaintOnce continues to trigger
Glad to help!