I feel like im 90% there…
I am not a programmer… I’m just an artist trying to use logic to fill a need on the team.
- I wrote this script that when the player enters into a triggerable area, an audio file plays.
- The Audio is Dialogue and the sentences of conversation between characters is not created as a whole, but broken out into specific sentences so that i can place them around the map in a more organic fashion.
- so each Triggerable area has? up to 5 lines of Dialogue.
- Steps 1-4 are all created in 1 Master BP
- I then created children of that BP to pepper them throughout the map.
The issue is that I am having is if the player crosses over more than 1 barrier at a time, all the audio will begin to play at once… in other words they’re not queueing up.
The Logic to me is simple:
- If barrier is crossed, play audio in THIS trigger.
- If player crosses 2md barrier, check to see if the previous one is complete.
– If not complete, wait.
– if complete, play this 2nd barrier.
This means, each child needs to check the previous barrier.
- in the Master BP, i have code that says, 'if duration is incomplete, do nothing, but check to see when its done."
Am I going in the right direction?
All the Collapsed nodes reflect this:
This is the last collapsed node that checks to see the grand totals of the audio. Its like one last check to make sure this doesnt play:
Each Child BP reflects this. I have 8 children total: