Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

hey, if i wanna use a scriptcall to check if a custom keybind is being pressed, what script would I use for that?

If your custom keyname is for example "keyname1", then you can use this to check if that key is pressed:

Input.isPressed("keyname1")

So you can add that to the script of a conditional branch to check when the key is pressed and do stuff.

For some reason I just can't seem to get it to work, I can't tell if it's a problem in the plugin parameters if theres something I'm missing

(2 edits)

Here is an example of say setting up the Spacebar for a custom key with the custom keyname of "space"

(make sure you are starting a fresh new game when testing too)

Yeah, I mean I got it to work for regular keys but the space is actually the problem, it works for xbox controller but not the space key, but honestly it's probably just compatibility issues with visustella core engine

(2 edits)

No custom inputs are working for the keyboard.

I just can't understand why it works 100% on the xbox controller but not the keyboard, it making my head spin

Hmmm im using VS core engine and it seems to work on my end.

Try entering Input.keyMapper in the F8 console and check if your custom keyname is still there

it's not

Can you post a screenshot of your parameter window of the key you have trouble with?