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.
How to make a menu appear when press a key?

0 Members and 4 Guests are viewing this topic.

**
Rep: +0/-0Level 81
Hey guys,i've been wondering how to make a menu appear when i press a key?.
I have this quest log script and i want it to appear whenever i press a key lets say i have to press Q and the quest log menu appear..I want this to happen whenever a player is doing a quest or after or whatever but the main thing is that how do i make the quest log appear when i press a key ? Please help me !

NOTE:You can reply here or via my email
Email:syafiq_adnan_islam@hotmail.com

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Well... as it so happens there's a simple command for the Q key. Just make a common event with a parallel process that's always on, and do a conditional branch for the "L button" (the L button is the Q key, while the R button is the W key). In that conditional branch, just use whatever the call script is to bring up the quest log menu.




**
Rep: +0/-0Level 81
Well... as it so happens there's a simple command for the Q key. Just make a common event with a parallel process that's always on, and do a conditional branch for the "L button" (the L button is the Q key, while the R button is the W key). In that conditional branch, just use whatever the call script is to bring up the quest log menu.

Okay but where do i make the event at ? I want me so call the player to press Q to open the quest log

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Common event tab, in the database. You can't miss it.




**
Rep: +0/-0Level 81
Common event tab, in the database. You can't miss it.
Okay i found it...You know whart ? IT WORKS !!! THNX FOR THE TIP !

**
Rep: +0/-0Level 81
Common event tab, in the database. You can't miss it.
Okay i found it...You know whart ? IT WORKS !!! THNX FOR THE TIP !
wait one more thing...how do i know which button stands for which key ?
If L is Q and all the buttons ? like c,d,x,z ?

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
These are all the default settings.

Game Buttons     
A
B
C
X
Y
Z
L
R
Keyboard Keys
Z
X
C
A
S
D
Q
W




**
Rep: +0/-0Level 81
These are all the default settings.

Game Buttons     
A
B
C
X
Y
Z
L
R
Keyboard Keys
Z
X
C
A
S
D
Q
W


Okay thnx..but can i change the button and key?

**
Rep: +0/-0Level 81
you can change the keys from the game menu (F1)Not the editor but if you send your game to other people let them know what key it is by default
eg "To open the quest log press Q by default"

**
Rep: +0/-0Level 81
you can change the keys from the game menu (F1)Not the editor but if you send your game to other people let them know what key it is by default
eg "To open the quest log press Q by default"


Okay you know what now?
I got this problem...
i put the conditional branch:the L button is being press
@>""i put the questlog script here""
@>
:else
@>""here i put nothing""
: branch end
:>

I put the conditional branch thingi at Common events(F10)
Then the name is put as Queslog open and trigger as parallel
But the condition switch is none.Must i put sumthhing there?If yes then where should i put it?



********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
To work a parallel process common event in the database, you must turn a corresponding switch on. Just double click the condition switch and create a switch for it to use. This switch is now what turns your common event on and off. Then, inside the game itself (probably in something like your opening cutscene or map), create a different event on the map that turns that particular switch on.