Page 1 of 1

a script to be able to create/ change a players control settings

Posted: Sun Feb 26, 2017 6:00 am
by jamisco
create or change .... no preference really fyi

what i mean by control settings are,for example, for me my controls are, to shoot i press J, to block i press L, to kick i press K and i move with wasd keys... now, i checked the script api, i couldn't seem to find method or something that allowed me obtain information on a players control settings... so any one of you genius scripters out there got a genius way to be able to setup custom controls? ... I'm thinking i could loop console.ReadKey()... buttttt, I'm very skeptical... and i feel like its far more complicated than that

Re: a script to be able to create/ change a players control settings

Posted: Sun Feb 26, 2017 9:38 am
by Gurt
You can not read or change a specific user's control scheme.

Re: a script to be able to create/ change a players control settings

Posted: Sun Feb 26, 2017 8:49 pm
by jamisco
can we then influence it? add extra controls? for example i can make it so that when lets say i press the key X, i can do whatever event i coded in my script

Re: a script to be able to create/ change a players control settings

Posted: Sun Feb 26, 2017 9:36 pm
by Gurt
Perhaps one day you will be able to read pressed keys (like key GRAB or key JUMP) in the ScriptAPI but not today.