RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Button script.

0 Members and 2 Guests are viewing this topic.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
I need to know how to make the game pause, and open menu when I push a certain button.

I want it to be like FF8

Button
A= confirm
B= decline
D= menu
F= pause

You need a keyboard import script, and pause script, and someone who knows basic scripting.
&&&&&&&&&&&&&&&&

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
*Puppy eyes*

Please...
&&&&&&&&&&&&&&&&

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
you want to have it so menu is diabled, but when button ____ is pressed it turns on.

(busy with homework)

but use a conditional branch and set it with scipt and use:

Input.trigger?(Input::C)
Watch out for: HaloOfTheSun

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
 :tpg: please I sill dont get what you mean...
&&&&&&&&&&&&&&&&

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best IRC Chatterbox2013 Best Game Creator (Non-RM)Participant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
Conditional branches.
"Key R is pressed" something like that.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
ok, but I don't get how to use the button input thing...  ;9
&&&&&&&&&&&&&&&&

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
It's not the button input one, they are talking about using a conditional branch with the condition that a certain button is being pressed. It is right above Script on the 4th tab in con. branch. To see which button corresponds to the keyboard, press F1 during test play. Then just disable Call Menu. I'm not sure how you would do pause though


pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
but sometimes that dosent always work

ill make a demo for ya
« Last Edit: February 10, 2007, 05:05:25 PM by Dr_Squidward »
Watch out for: HaloOfTheSun

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
here try this...

press Z for menu and space bar to pause/ come back from pause...
Watch out for: HaloOfTheSun

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
 :-\ I get what your saying, and kinda know how to do it, but I can't make it work... when I whent to F1 in test play, I changed it all to the A button, but when I pushed X the menu popped up...  it seem no matter how much I change the button congif the default buttons still work. So, it's not yours fault and thanks for the demo. I'll get how to use it in time, in time I will be a master of button setup.
&&&&&&&&&&&&&&&&

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
look at both the 2nd and third pages of the F1 settings, and also change the imput in the conditional brankches in teh commen events...so if you want anything added to the demo ask and I will try it/
Watch out for: HaloOfTheSun

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
That's ok, I can figure it out, and when I realize I can't I'll come back here.  ;D

Edit- OK, so I'm back... I got most of it to work, but the pause wont work...
« Last Edit: February 10, 2007, 06:16:15 PM by Dr_Eden »
&&&&&&&&&&&&&&&&

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
what happened? it worked in the first demo right? why not jsut tell me what you need and I can set it up....
Watch out for: HaloOfTheSun