d_disaster
Member
What I'm trying to do is add more than four commands to the Window_ActorCommand, which is the window that in battle shows the options 'fight', 'skill', 'guard', 'item'. I'm currently just as a test trying to get it to show an extra 'item' command after the last one.
I have modified Window_ActorCommand.setup to include an extra string s5, have included this in @commands, and have updated @item_max to 5. I have also modified Scene_Battle.update_actor_command_selection accordingly.
Technically it works fine, you can scroll down past the 4th command and press confirm, and the item selection window opens. However, the text that should read 'Item' in the fifth slot does not appear! I haven't been able to get my head around the draw_item method completely so I don't know whether it is something in there I need to change. Or I don't know whether I am missing something obvious here.
If anybody has any ideas it would be a great help!
I have modified Window_ActorCommand.setup to include an extra string s5, have included this in @commands, and have updated @item_max to 5. I have also modified Scene_Battle.update_actor_command_selection accordingly.
Technically it works fine, you can scroll down past the 4th command and press confirm, and the item selection window opens. However, the text that should read 'Item' in the fifth slot does not appear! I haven't been able to get my head around the draw_item method completely so I don't know whether it is something in there I need to change. Or I don't know whether I am missing something obvious here.
If anybody has any ideas it would be a great help!