Jump to content
Alphys Hedge

[SOLVED] Cell Phone Menu Option

Recommended Posts

I'm looking for a script that could allow the use of a cell phone. What I mean by this is that there would be an option in the pause(?) menu that reads "Cell Phone", and you could call any of the contacts on it. It would be like this:

 

[items]

[Cell Phone]

[skills]

[Equipment]

[status]

[Formation]

[save]

[Quit Game]

 

When you click cell phone:

 

 

(contacts will be added by use of a variable/switches)

[Delta]

[Eric]

[unknown Number]

 

 

 

Clicking one of the contacts will give a unique response which can be changed using a variable/switches.

 

Clicking [Eric], for example

[spoilers]

(A sound effect will play while it displays the text "Dialing..." in a message box)

"Hi, Alpha. What's up?"

(you can then choose from different choices using the show choices command)

[Nothing] ("Not much, really.")

[Alot] ("Lots of things have been happening, actually.")

 

[/spoilers]

Edited by Alpha Hedge

Share this post


Link to post
Share on other sites

You can try using Yanfly's Ace Menu Engine to put common events in the menu, then control the cellphone scene through it.

 

https://yanflychannel.wordpress.com/rmvxa/menu-scripts/ace-menu-engine/

This seems to be working so far. Thanks! ^-^

(I'm going to wait until I see if it actually works before I put [sOLVED] in the title, by the way)

 

EDIT: It works! I'll be marking this as solved, now :)

Edited by Alpha Hedge

Share this post


Link to post
Share on other sites

Alpha, if you get this working, please let us know. I asked for something like this a few days ago and still haven't figured it out.

Share this post


Link to post
Share on other sites

(Should I make a new topic for this?)

Okay, so I got the script downloaded. I understand completely how to add the selection to the menu. I... am lost after that. I don't understand how to make this selection actually... do something. Pull up a sub-menu, display a picture, etc. am I missing something?

Share this post


Link to post
Share on other sites

I'm basically saying that you'd have to event the Cell Phone scene yourself. I figure you'd need to precisely control when and where you can call, and who to call.

Share this post


Link to post
Share on other sites

(Should I make a new topic for this?)

 

Okay, so I got the script downloaded. I understand completely how to add the selection to the menu. I... am lost after that. I don't understand how to make this selection actually... do something. Pull up a sub-menu, display a picture, etc. am I missing something?

I've figured out for the most part how to use the script, so I'm fairly certain I can help.

 

1. Choose a name for the menu selection (Cell Phone, Camp, Info, etc.) I'll refer to this as your Menu Name.

2. Go to the Common Events tab of the Database, choose a slot, give it a simple name (for example, I used 'phone' for my Cell Phone option), and put in the commands you want it to run when you select that option (just like making an event).

3. Open up the script editor, and find open the Ace Menu script.

4. Go to line 129 (http://prntscr.com/acv4hf), copy line 130 (http://prntscr.com/acv4zm), paste it, and remove the hashtag (http://prntscr.com/acv6gs).

5. Replace "command" with your common event name, and replace "Display Name" with your Menu Name (with quotation marks). The next steps depend on when you want that option to show up.

 

If you want the option to always show up and always work:

 

 

6. Replace EnableSwitch with 0, replace ShowSwitch with 0, and replace EventID with the number of the common event you want to use.

 

 

 

If you want the option to only show up when a specific switch is on:

 

 

6. Replace EnableSwitch with 0, replace ShowSwitch with the number of the switch it should check for, and replace EventID with the number of the common event you want to use.

 

 

 

If you want the option to always show up but only work when a specific switch is on (it will still be shown, but will not work):

 

 

6. Replace EnableSwitch with the number of the switch it should check for, replace ShowSwitch with 0, and replace EventID with the number of the common event you want to use.

 

 

 

7. Go to line 104, and paste this:

:event_2,      # Launches Common Event 2. Common Event Command.

in any blank line between 105 and 116. Then replace "event_2" with the common event name, and give it a description (if you want to).

8. Hit "Apply" and you're done!

Share this post


Link to post
Share on other sites

Thanks! I actually got that much down rather quickly. I'm just confused how to possibly set up a common event to resemble a cell phone. I mean, the best I can come up with is a message saying "Call who?" and then doing a list of choices as to who to call. I mean, that works, but I am trying to set it up much more... well.... like a phone. You get somebody's number and they get added to the list of people you can call, things like that. I'll look into it a little more.

Thanks again for your help!

Share this post


Link to post
Share on other sites

Thanks! I actually got that much down rather quickly. I'm just confused how to possibly set up a common event to resemble a cell phone. I mean, the best I can come up with is a message saying "Call who?" and then doing a list of choices as to who to call. I mean, that works, but I am trying to set it up much more... well.... like a phone. You get somebody's number and they get added to the list of people you can call, things like that. I'll look into it a little more.

 

Thanks again for your help!

Glad I could ^-^ And tbh, that's what I did too x3

Share this post


Link to post
Share on other sites

9RWO0dm.png This thread is closed, due to being solved. If for some reason anybody would like to re-open this thread, just send me a PM. (=

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted