Page 1 of 1

Player hold keys is temporary

Posted: Sat May 31, 2025 4:06 am
by Turtle Guy
Ok, so i want to do a cutscene in my level and used the player hold keys event. But for some reason the holding keys thing is only temporary, while normally it's indefinite. I tried a bunch of workarounds (making a couple of events triggering one after each other, multiple triggers, etc...), but nothing worked.

GIF of problem:
Image

GIF of how it's supposed to work
Image

Level assets (in case something there is the culprit)
Image

Re: Player hold keys is temporary

Posted: Sat May 31, 2025 4:48 am
by KBM-Quine
the hold keys option in an event will keep keys held until another event is triggered. this is because the fields for those are set every time an event triggers. so you'd need to supply the keys to every event in a chain until you no longer want them held

Re: Player hold keys is temporary

Posted: Sat May 31, 2025 6:59 am
by Turtle Guy
KBM-Quine wrote:
Sat May 31, 2025 4:48 am
the hold keys option in an event will keep keys held until another event is triggered. this is because the fields for those are set every time an event triggers. so you'd need to supply the keys to every event in a chain until you no longer want them held
I tried that, but it didn't work. (well, ok it did kinda work, but there was a small time window where the player could move freely and i don't want that. Setting the time between events to 0 for some reason makes the hold keys function not work correctly in the next event)