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
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.
Quote from: Zylos on April 27, 2010, 07:04:07 AM
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
Common event tab, in the database. You can't miss it.
Quote from: Zylos on April 27, 2010, 07:30:37 AM
Common event tab, in the database. You can't miss it.
Okay i found it...You know whart ? IT WORKS !!! THNX FOR THE TIP !
Quote from: syafiqpilot on April 27, 2010, 07:38:55 AM
Quote from: Zylos on April 27, 2010, 07:30:37 AM
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 ?
These are all the default settings.
| Game Buttons | Keyboard Keys |
Quote from: Zylos on April 27, 2010, 07:59:58 AM
These are all the default settings.
| Game Buttons | Keyboard Keys |
Okay thnx..but can i change the button and key?
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"
Quote from: Solundor on April 27, 2010, 09:23:53 AM
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?
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.