Hi! My first post here.
I’m recreating the “ocarina playing” mechanic of The Legend of Zelda: Ocarina of Time.
When I press either the left, right, up, or down arrow keys or “x” key, I add a string to an array, the string being “l”, “r”, “u”, “d” and “x” respectively. The song Zelda’s Lullaby (for test purposes) is “left up right” (x2) so I check if the array contains “lurlur” and all goes well, except for if I had input before the initial “l”
So if I do “left, left, up, right, left, up, right” the song won’t play. The “contains item” node expects that it be at the beginning.