Hello! Me again!
--------------------------------------------------------------------------
Final Edit (solved)
Got it working... kind of.
I didn't manage to assign the command the value of a specific $data_skills, but I DID manage to make it do the method next_command which is basically what I was trying to get it to do by assigning it a skill in the first place.
Thanks to Modulusia for then also answering my question of "how to write a method so a method is equal to a $data_skills id (and then attach that to an Actor Command similar to how Attack and Guard work by default)".
Here is how I made my No Action command do the next_command method in my script:
I did my fix like so (this in my edited Scene Battle class):
And this (in my edited sub command window class thingy):
-------------------------------------------------------------------------------
ORIGINAL POST:
This time around I've made some decent progress and am currently puzzled on how to get a New Command (that I've added to an edited version of the Window_ActorCommand class) to do, well, ANYTHING!
So far I've boiled my script down to just this addition (again, this is in a duplicated custom Window_ActorCommand class):
This (and some other editing) results in my custom Actor Command Window looking like this:
Which is perfect (for now)!
BUT!
When I then try to use No Action (by pressing A, or spacebar, or enter, or whatever on it)... basically nothing happens.
It makes a little chime to say it recognises that I pressed "A", but it doesn't do $data_skills[200] like I want it to and it doesn't do anything else either! 😮
I've found tutorials on making custom Menu commands for the Main Menu, but none on Battle Menus... so I'm flailing about in the dark a tid bit with this one.
Anyone know how to tie custom Actions to custom Commands?
Or can anyone point me in the direction of a tutorial/set of tutorials on the subject?
Any help would be appreciated.
Thanks for y'alls' time.
- The Sarah
----------------------------
(Edit - That attempt at defining the symbol as a method in the first picture is my latest attempt at resolving this, I've tried quite a few different versions of this but have yet to find success)
----------------------------
--------------------------------------------------------------------------
Final Edit (solved)
Got it working... kind of.
I didn't manage to assign the command the value of a specific $data_skills, but I DID manage to make it do the method next_command which is basically what I was trying to get it to do by assigning it a skill in the first place.
Thanks to Modulusia for then also answering my question of "how to write a method so a method is equal to a $data_skills id (and then attach that to an Actor Command similar to how Attack and Guard work by default)".
Here is how I made my No Action command do the next_command method in my script:
I did my fix like so (this in my edited Scene Battle class):
And this (in my edited sub command window class thingy):
-------------------------------------------------------------------------------
ORIGINAL POST:
This time around I've made some decent progress and am currently puzzled on how to get a New Command (that I've added to an edited version of the Window_ActorCommand class) to do, well, ANYTHING!
So far I've boiled my script down to just this addition (again, this is in a duplicated custom Window_ActorCommand class):
This (and some other editing) results in my custom Actor Command Window looking like this:
Which is perfect (for now)!
BUT!
When I then try to use No Action (by pressing A, or spacebar, or enter, or whatever on it)... basically nothing happens.
It makes a little chime to say it recognises that I pressed "A", but it doesn't do $data_skills[200] like I want it to and it doesn't do anything else either! 😮
I've found tutorials on making custom Menu commands for the Main Menu, but none on Battle Menus... so I'm flailing about in the dark a tid bit with this one.
Anyone know how to tie custom Actions to custom Commands?
Or can anyone point me in the direction of a tutorial/set of tutorials on the subject?
Any help would be appreciated.
Thanks for y'alls' time.
- The Sarah
----------------------------
(Edit - That attempt at defining the symbol as a method in the first picture is my latest attempt at resolving this, I've tried quite a few different versions of this but have yet to find success)
----------------------------