What script call could I use to check if a certain button was being pressed through a conditional br

averagecelery

Warper
Member
Joined
Dec 13, 2015
Messages
4
Reaction score
0
First Language
English
I'm using Dekita's Full Keyboard Input plugin.

So I have a common event that has a loop with a conditional branch. It's checking whether the user is pressing A or not, but

I need to check through a script call since the input is available through the plugin only. I'm just asking for the call I need to do, that's all.

Thanks! :-T
 

lithkast

Quirky mini boss
Veteran
Joined
May 12, 2014
Messages
105
Reaction score
49
First Language
english
Primarily Uses
I'm not going to profess to have your answer, but I did take a look at the plugin you are using and may have found your answer.  

Input.isKeyPressed(keyCode)keyCode should refer to the integer representing the key in question.  You can find those numbers in the plugin itself, near the top.  

anyways I would assume the script call would look like this.

Input.isKeyPressed(keyCode) ?*/ or something like thisInput.isKeyPressed(keyCode) = true*/ or justInput.isKeyPressed(keyCode)Again, I don't know 100% if those will work.  It was just me reviewing the code and coming to that conclusion.  If it doesn't work, I'll be glad to test some things out for you and come up with a better solution, assuming someone smarter than me doesn't come in and give you the answer first lol.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top