Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey! I was wondering what the script equivalent is to just pressing the jump button when its assigned to 1? I want to tie it to a ButtonCommonEvent so the action is there visually and to have different jump heights based on actor states.

I think I've narrowed my problem. When I set the player jump height to say 10 and call the common event to jump, it will just use the default set in the plugin page. It isn't till I use the plugin assigned key, say setting it to 1 or A, that it updates. After that my common event jump goes to the correct height.

Hi there!

From my understanding, you assigned a button common event to make this whole thing, right?

On the plugin parameters, there is a variable value for the jump peak(height). You can change its value on your common event before you jump. Although, that will only work for the player.

For events, you can change the value by script call, listed on the plugin help file.

The script call .jumpForward(distance) is the equivalent one as you are pressing the "1" to make the player jump. So you can just assign whatever button you want for the common event, and let the event handle the jump by using the script calls.