Disable Cancel Button

Rink27

Veteran
Veteran
Joined
Jul 18, 2014
Messages
222
Reaction score
13
First Language
English
Primarily Uses
RMMV
How can I disable the cancel button?


I am using the "Select Item" event command. However, if the player deselects here / presses the cancel button, I'd run into problems. I can run a conditional branch that checks for the cancel button being pressed and jump to another label to work around the problem, but if I can temporarily disable the cancel button, that'd be muchhhh better.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
there is an easier way to detect that - set the variable used in the select command to zero before the command, if it is still zero after it then the command was cancelled - there is no item with the ID zero.
 

Rink27

Veteran
Veteran
Joined
Jul 18, 2014
Messages
222
Reaction score
13
First Language
English
Primarily Uses
RMMV
there is an easier way to detect that - set the variable used in the select command to zero before the command, if it is still zero after it then the command was cancelled - there is no item with the ID zero.

Thank you! That would be much safer. I was worried if the player can press the cancel button so quickly the conditional branch check misses the input.
However, is it possible to disable the cancel button all-together?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top