Thread: Help w/ script
View Single Post
Mike_1990

JCF Member

Joined: Mar 2012

Posts: 15

Mike_1990 is doing well so far

Apr 26, 2018, 08:17 AM
Mike_1990 is offline
Reply With Quote
Alright, got it now. Basically I've just added bool stop_select = true at the end of each case and if (stop_select != true) to the input conditions and then created another condition:

if ((jjKey[0x27] != true) and (jjKey[0x25] != true)){
stop_select = false;
}

So it stops reading input after first change and restores reading input as soon as player depresses left and right.

anyway thanks for reminding me how input function works.