RPG Maker Forums

Hello

What I'm looking for is a script that will: A: Get keypress, I can enter whatever key I want just the script it will run and check for whenever the key is pressed. B: Upon triggering the key the script will change the equipped weapon to the next one in the player inventory. C: Loop around.

Alternatively it would be amazing if I could manually tell the script what weapons are ok to loop through, using a script call. Something like "EnableWeapon(X,X,ETC)"

I hope that is clear enough. I also posted a picture of some basic logic down below. 

Basically this is what I need, It would be amazing if it could check what weapons you actually have in your inventory. PadConfig.weaponeq is just a reference to make gamepads avaliable. It's basically saying :RIGHT , If you wonder.

Thanks in advance!
Cheers ^-^

Testings.png

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top