Good evening all,
I've been avoiding making this post. I'm stubborn and thought I could solve this problem on my own. However after being hung up all week on such a seemingly simple problem I thought it was time to reach out for a hand. Sorry if this is solved somewhere on the forum already, I did a search but didn't find anything that quite fit with what I need.
My problem is with the CMS I'm working on in RGSS2 (RPG Maker VX).
Everything was going smoothly until I got around to scripting the item screen. When I hit enter on one of my items I want a target select screen to highlight and ask for player input (i.e Who do you want to use "x" item on?) and then not do anything until the enter key (or whatever) is pushed again. This is all working perfectly EXCEPT when I hit enter the first time on my item it immediately uses the item on the default target. I can then go ahead and select another target (if I had more than 1 of the item) and use the selected item. Its like there is no delay before the game checks to see if the return key is pushed after switching to the target screen.
The item menu consists of 1 scene with 2 important windows: my item selection window & the target selection window. There are help windows on screen with item quantities and item descriptions etc but they aren't an issue. The cursor controls (i.e. Up, Down, Left, Right) for each window is handled by my window classes while the Return key and Escape key processing are handled within the item Scene. (Is that not the proper way to do it?)
I can't really post the code I'm using, as its in a huge mess from me swapping lines and rearranging things constantly trying to solve the issue. I thought it was just a problem with Input.trigger? vs Input.press? or something like that but I've tried all the input methods without success.
I can try to map out the process my menu takes to use an item if that will help:
>> Item Screen Appears.
==> Player selects desired item
>> Target Screen fades in (it is semi-transparent until item is selected)
==> Item is used immediately **** This is the Problem ****
==> Player can then chose a target to use the item on
From this brief explanation, can anyone venture a guess or give a suggestion to help me out?
Thanks in advance.
I've been avoiding making this post. I'm stubborn and thought I could solve this problem on my own. However after being hung up all week on such a seemingly simple problem I thought it was time to reach out for a hand. Sorry if this is solved somewhere on the forum already, I did a search but didn't find anything that quite fit with what I need.
My problem is with the CMS I'm working on in RGSS2 (RPG Maker VX).
Everything was going smoothly until I got around to scripting the item screen. When I hit enter on one of my items I want a target select screen to highlight and ask for player input (i.e Who do you want to use "x" item on?) and then not do anything until the enter key (or whatever) is pushed again. This is all working perfectly EXCEPT when I hit enter the first time on my item it immediately uses the item on the default target. I can then go ahead and select another target (if I had more than 1 of the item) and use the selected item. Its like there is no delay before the game checks to see if the return key is pushed after switching to the target screen.
The item menu consists of 1 scene with 2 important windows: my item selection window & the target selection window. There are help windows on screen with item quantities and item descriptions etc but they aren't an issue. The cursor controls (i.e. Up, Down, Left, Right) for each window is handled by my window classes while the Return key and Escape key processing are handled within the item Scene. (Is that not the proper way to do it?)
I can't really post the code I'm using, as its in a huge mess from me swapping lines and rearranging things constantly trying to solve the issue. I thought it was just a problem with Input.trigger? vs Input.press? or something like that but I've tried all the input methods without success.
I can try to map out the process my menu takes to use an item if that will help:
>> Item Screen Appears.
==> Player selects desired item
>> Target Screen fades in (it is semi-transparent until item is selected)
==> Item is used immediately **** This is the Problem ****
==> Player can then chose a target to use the item on
From this brief explanation, can anyone venture a guess or give a suggestion to help me out?
Thanks in advance.