How to make event pull up a certain menu

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
Howdy! so im pretty new to the RPG Maker community (ok thats a lie, i've been around since RPG Maker 2 on the PS2.) and im having a bit of trouble.

so i want to make a character database in my game, now i know your all thinking im talking about the database in the editor, well im not.

let me see if i can describe it better...

ok, think of it like a area where you can choose from 2 options. you can save the game, or view character info.

now here comes the confusing part, i want it so that when you choose the info option, the game fades into another room that has nothing in it, just the event. and i want the event to pull up the status menu (which BTW im using yanfly's status menu) when you open it. BUUUUUUUUUUT i also want it so that you can view characters that you've not encountered yet or won't even encounter in the game at all, sorta like a shop where when you choose an "item" it pulls up a info screen which talks about the characters backstory a bit.

now is that possible at all? or am i dreaming a madman's dream?
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
Your description is a bit confusing, so I can't be sure I understood it right.


There is a scene manager script call for calling existing screens, but if you want to see data on all actors (instead of only the ones in the party), then such a scene does not exist by default. You would need a script that makes that new scene.


There are some journal/encyclopedia-type scripts that allow you to define your own data pages for new menus, you might want to search for them to see if you could use them.


If not, a scripter writing that new scene would need more details on what you want - can you give a mock-up of how you want that scene to look, with a description of its functions?
 

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
i think i can. but then again i think i figured out how i want it to be.

So i want it to pull up a inventory-like menu that has certain items in it that pull up either the status menu for a specific character OR make it so that each item shows a different image, but not have the item in the players inventory.

sorry if this is currently confusing. im in a bit of a rush here right now. i'll elaborate more later today.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
Try this tutorial:
 

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
Hmmm... well it looks like its what i needed, but im not sure if it'll work. i'll try it tonight and let you guys know if it works.
 

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
well, im a bit stumped.

i got a textbox to show up with text in it, but now i need it to work like a message box. there's just a tiny little problem with the tutorial.
 

1st, create a from the event command button, Loop is in 1st page under the Condition button.Inside loop,[1]Add (1 frame)[2]Make a to run when the player .Inside the condition,[1]Add the [2] This will stop the player from doing anything else until that button is pressed.

now this is where im getting stuck. there's a lot of typos in this specific part and i can't really understand what im supposed to do here. i get the basic idea, but i need this to be fixed up so that i can understand it better.
 

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
UPDATE: My browser wasn't showing the reveal hidden contents button.

Google chrome you are a derp on occasion.

now i think im getting the jist of it but i think im doing something wrong. here's my script:
 

script.PNG
 
Last edited by a moderator:

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
You need to end the loop after disposing the window
 

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
Hey guys, so before we get this started, quick thanks to MeowFace for helping out with this little issue of mine. i honestly never thought i'd EVER find something here that could help me out. so big thanks all around!

with that said, its time for an update for what's been going on!

You need to end the loop after disposing the window
script.PNG


Alright, so following MF's instructions i added the Break Loop command, now so far i think im doing this correctly. (feel free to point out anything i need to change) and now its time to get to the point of all this.
 

can you give a mock-up of how you want that scene to look, with a description of its functions?

why yes i can Andar!

layout 2.png


this image is the mockup of the menu where you'd pick what character you'd choose to learn about. essentially like a shop layout only without the whole buying and selling items part, instead when you choose an option, it would then lead to the following.


layout 1.png


this right here is the meat and cheese of the whole idea! this is the mockup of how the whole info screen would look. stuff like background history and what-not. kinda like the pokedex from the pokemon series.

now i know what you're thinkin'.

"Now how would that work?"

well i haven't gotten that part down yet. but i will post some screencaps of the script and menu as this progresses further.

And yes, i realize the images are in the wrong order.

didn't realize that as i was making the images.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
You're welcome.


The graphic handling and other stuffs like icons/sprites and such are all listed in that tutorial under extras, so all you need is to take some time to read through the whole thing. Pair it with the event default choice menu and message window and you should be able to make more than what you requested above. (except the choice menu and message window positions are fixed, so you will need to build your windows layouts around that)


edit:


note that you don't need the loop thingy if you design your windows around message windows/choice menu.


eg to make a quick window display in 4 steps


[1] create windows


[2] create contents in windows


[3] display message / choice menu


[4] dispose windows


and that's it.
 
Last edited by a moderator:

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
1st, create a Loop from the event command button, Loop is in 1st page under the Condition button.Inside loop,[1]Add Wait(1 frame)[2]Make a Condition to run when the player pressed a button.(Last tab, 2nd last button)Inside the condition,[1]Add the close windows script call[2]Stop the Loop(The button below loop in the event command editor)

Oh RPG Maker i love how you could make the SIMPLEST of instructions defunctional.

Yep, MORE issues. now im trying to make the choices disappear once you hit the interact button as shown above in the instructions, but it seems RPG Maker just loves to say "LAWL NAH BOICH U NO HAZ COOMANDZ DAT ME LIEK ME SKIP DIS LOLOLOLOLOL"

...Yeah idk either.

aaaaaaaanyways. time to show the script i guess.

script.PNG

Now i made damn sure that this is correct but to no avail.

now it should only close the window and jump back to the selections after you press C (Z button on keyboard and A button on gamepad because RPGM's control system doesn't make damn sense) however its skipping the whole button thing and just going straight back to the choices.

MeowFace, you got any idea on how to fix this?

Also sorry for being so inactive, been spending time with my bro and been helping with stuff around the house
 
Last edited by a moderator:

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
note that you don't need the loop thingy if you design your windows around message windows/choice menu.


eg to make a quick window display in 4 steps


[1] create windows


[2] create contents in windows


[3] display message / choice menu


[4] dispose windows


and that's it.
 

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
what the... i thought i removed the loop command!

also that really didnt help dude. but i suppose i didnt explain clearly enough.

View attachment 33486

Ok, so let us drag our attention to the When [78link] choice.

now as you can see, i have it set up so it'll show the character face for 78Link (its not complete yet so there's gonna be a border and i need to change some numbers.) and when you hit the C Button which is mapped to the Z key on the keyboard and A button on a gamepad it should remove that window. Right? RIGHT!?



all it does is nothing! what i think its doing is skipping that command deliberately because... well idfk.

so unless either someone can try and be able to make the events for me or i just give up and remove the database idea entirely.

please i REALLY need help with this!
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
There is a known bug in VXA when you set up a listener for X button being pressed. The event built-in options will not work correctly depends on your fps at the time. To make it work, you will need to use the script call inside the conditional branch instead.


Simply use this in the script box in your conditional branch:

Code:
Input.press?(:Z)
 
Last edited by a moderator:

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
OMG Not even that works!?! WTF RPGMVXA!?

script.PNG

i dont get it! i set everything correctly so why?! why is it skipping!?!

i swear i am this close to scrapping this entire database BS!
 

arlisbloxer05

A Passing through hero.
Member
Joined
Dec 21, 2015
Messages
17
Reaction score
0
First Language
English
Primarily Uses
well. im done.

i've given up trying to make the database work. it just isn't gonna work for me.

thanks for your help MeowFace, but i just can't get this to work.

If any admin would like to lock this thread up, go ahead. my business is done for this thread here.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
It is skipping because that eventing is wrong.


That whole button press check will run for 1 frame only. Kinda impossible for the player to trigger it, really.


You need to put that in a loop. So:


Loop 


  Button Press Check 


     Break Loop


  End


End


Jump to Label: XY


This will check if the player pressed that button, and until the player presses it, it won't do anything else, just waits for it.


After the button press, the loop will break, and it will reach the next command below the looped things.


That one is a jump to label command, so it jumps to that label.


This is what you wanted to do, right?


You can get rid of that window inside the button check condition as well if needed.
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top