Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

'Show Choices' via script.

Hi All,

I realize I just posted a question about 4 hours ago, and I do appreciate the help on that, but, I have another issue...

Anyway, I couldn't seem to find a simple way to call a "show choices" (event command) via script. Should I be creating a new command window and editing that?

I'm just a little upset with the itsy bitsy character limit on the size of a "choice" screen. I'd like to call script to display the choices, and maybe even have more then 4 of em as well!

here's kind of what I'm looking for:
Code:
#set up the choices
c1 = "This statement is waaaay past the default char limit."
c2 = "I eat babies"
c3 = "\c[2]This is RED\c[0]"
c4 = "\v[4] is a chomo."
c5 = "WTF?!? A Fifth choice?! Wow..."

#display a choice window
@choice_box = Show_Choices.new([c1, c2, c3, c4, c5])

#asign an index to a variable used for checking the choice in the even page
$choice = @choice_box.index

I have the sick feeling that if I want to use something as simple as this I'm going have to code it myself, could someone please tell me that there's an easier way?

Thanks in advance :)

-Gorgon, The Alpha Male
 
Thanks for the link, I appreciate it, but I think I'm just going to write my own, anyone have any idea on how the message window interacts with the command window, or how they blend together?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top