PDA

View Full Version : Disabling The X Button


Lone Phantom
06-11-2005, 06:27 PM
there any way to disable the x button, becuase I am trying to make
this battle system were,with one move is instant death, and I already figured out that I can create one hit kills just by naming a flag monster death,if I
want the monsters alive, I turn the flag on, if I want if dead, I turn it off,
but one thing I never figured out is how to disable the X button.I am trying to make the move, downward slash, but I want to figured out imput buttons,
and diable the x button, to make the combo square,x=downward slash.If this
does not work, I make a battle menu type system.

Draygone
06-11-2005, 06:58 PM
For starters, make sure your topic titles actually have something to do with the topic from now on.

Anyway, I believe there is a flag you can turn off to switch off the menu.

thetruecoolness
06-11-2005, 07:01 PM
Yeah its flag 10:No Menus, this disables the main menu from popping up, so then you can make X do whatever you want.

Lone Phantom
06-12-2005, 10:01 PM
After I find this, how do you make a duel battle system, were, you have a
certain amount of time to press X, and other buttons,in a japanese katana
style combat?

thetruecoolness
06-12-2005, 10:25 PM
Well the certain amount of time is the Input Creation->Buttons command. And in that instead of checking constant wait, use a time in frames instead. Then you just check the 4:user button variable after that using a sort command or a script branch commands. The variable user button is -1 if they did not press a button. So if you were checking for X you would want to see if user button is 7. So just make a script like this

Input: Buttons: Wait (<seconds * 30>)F
Script Branch: Sort [4:User Button]
Script Branch: Apply If: Number is 7 // x Button
Script: Call [Do Stuff]
Script Branch: To End // note you don't need this if this apply if is the last one
Script: Branch End

Of course you can check for as many buttons as you want and chain this script body together to do button combos.

Lone Phantom
06-13-2005, 05:55 PM
thanks, this helped me be able to make a beginning blacksmith shop.

Riotsword
06-13-2005, 06:08 PM
After I find this, how do you make a duel battle system, were, you have a
certain amount of time to press X, and other buttons,in a japanese katana
style combat?

thanks, this helped me be able to make a beginning blacksmith shop.
Wait... those are two different ideas.

Lone Phantom
06-13-2005, 06:14 PM
Wait... those are two different ideas.


your the first one to notice that,cool,yea I decided I rather have a blacksmith shop.