Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
671
Reaction score
218
First Language
English
Primarily Uses
RMMV
Hello! :)

In my game, I'm using the ABS script XAS Battle System (Here is a link to the original XAS script, and Here is a link to an English download of the script! NOTE: I'm using Ace!)

In this script, you typically have to "equip" or select a skill to set to a skill hotkey. Changing to a different skill, however, means you have to stop the battle, and go into a menu to select it.

What I'm hoping can be done is to have a script call in which causes the "equipped" skill to cycle to the payer's other skills with the press of a button. I can simply set a key to run a common event with a hotkey script, so I only need a script command that when called cycles the skills by 1. 

I hope I explained this well enough, I was at a bit of a loss with how to describe it. If I left anything out, please feel free to ask.

Thank you. :)
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,200
Reaction score
848
First Language
Hungarian
Primarily Uses
RMVXA
Didn't I make you this script already? Or did I make it for someone else? My memory fails me, I'm beginning to think that I'm getting old! o.o


Anyway, here is the script I made for this: http://pastebin.com/SJw5gC42


It should do what you want without you having to make any common events for it. You will be able to swap any tools (weapons and items too) with the button you want (configurable).


Ohh, I made it for Mireneye actually, just found the topic for it. :D
 
Last edited by a moderator:

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
671
Reaction score
218
First Language
English
Primarily Uses
RMMV
Thanks a bundle, this is exactly what I've been searching for, and works great! :D
 

supinpa

Warper
Member
Joined
Aug 30, 2014
Messages
2
Reaction score
1
First Language
English
Primarily Uses
Hey Sixth, I was looking around for something like this as well!


Thanks a lot for this script.


Just thought I'd tell you about this little error in the script, 


at line 149, you have @cycleskill = { :weapon => 0, :armor => 0, :item => 0, :item => 0 }


when I believe you meant for it to be @cycleskill = { :weapon => 0, :armor => 0, :item => 0, :skill => 0 }.


It's not that major, but it gives you an error if you try to change skills without having one selected already.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,200
Reaction score
848
First Language
Hungarian
Primarily Uses
RMVXA
Ohh, thanks for the report!


Yeah, that should be skill indeed, seems like I forgot to edit the copy/paste stuff there.


Fixed it on pastebin.
 

Latest Threads

Latest Profile Posts

Add Film-like Visual Effects During Test-Play, Deploy Games with Electron | RPG Maker News #69

brain broken as soon as i figure out whats wrong with my game im taking a long nap
Hey guys anyone is interested in playing my game? Just PM me and I'll give you a Steam key! Here's my latest video! ->
cst.PNG
What would you assume this thing was/is?
1623528827049.png
Ah yes. Just the reference I was looking for to use for my portrait. Thanks Google.

Forum statistics

Threads
112,182
Messages
1,066,412
Members
145,775
Latest member
Nyakiryu
Top