How to use set choices in javascript

Treosfnb

Warper
Member
Joined
Mar 7, 2016
Messages
4
Reaction score
1
First Language
English
Primarily Uses
Can anybody tell me how to use set choices in javascript? I have a textbox displaying and can make the choices appear however I have no idea how to make them do anything. As of right now it just closes the conversation when i choose an option, I want to be able to start a new textbox and display a different message when you select an option. Any help would be greatly appreciated.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Look at how command windows are handled... I've not yet dabbled in MV so fat but back in Ace, you set an "ok handler" for each "choice" in a command window, the "ok handler" being the method that will be executed when that "choice" is activated
 

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

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top