Adding thousands of stat points (buttons or increasing allocation on key press)

AdeptusUK

Veteran
Veteran
Joined
May 27, 2020
Messages
44
Reaction score
7
First Language
English
Primarily Uses
RMMV
Hi all

I am using the YEP_StatAllocation plugin and I'm having an issue where the player can end up with thousands of stat points to assign. By default pressing the left/right key on a stat increases it by one, holding the key increases it in increments of one per X time (presumably whatever the refresh rate of the screen is). I have a couple of solutions for this, but I lack the js knowledge to implement them. I could either:

1. Increase the speed at which stat points are allocated whilst a user holds the 'right' key
2. Add some buttons to the stat allocation screen that add 10/50/100 or whatever amount of stat points.

I've been fiddling with adding buttons, but I just don't understand enough to implement it from the tutorials I've seen. Can anyone point me to a tutorial that would explain it to me as if I am 5 or help me solve this problem?
 

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

Latest Threads

Latest Profile Posts

This video really speaks to me...

Stream will be live shortly with a session of the interactive text adenture! Feel free to drop by!
I worked a lot more today and I am thinking about Youtube videos to make to my channel, but I am still looking for some content :D

But I am happy to be back at work :D
Update... no scam calls all day. I think they learned their lesson. And I'm working on a fake anti-piracy video, featuring a fan game I'm making in MV. If I had the permission to make the game a licensed game that I could sell (rather than having it totally free like fan games are required to be), I'd use a really cool anti-piracy screen...

Forum statistics

Threads
104,362
Messages
1,005,837
Members
135,876
Latest member
Ghact
Top