Jump to content

Number input UI OPcode?


Jape

Recommended Posts

I am trying to see if anyone has had any luck finding a way to bring up the number/quantity selection box using an OPcode, or any sort of OPcode that would allow for a player to input a number and for the quest script to capture that number.

 

I have tried looking through a few of the normal in-game quests to see if I ever missed an instance of Sega prompting a player for any kind of flexible input and I only seem to find quests with lists for selecting responses, even in the 'shop' quests. I am continuing to look through quests to see if I can find any example that I missed or forgot, but just in case someone has already found an example of this I wanted to post this. So if anyone here has made a quest that can do this or knows of an OPcode or quest that prompts for some sort of flexible user input please let me know as I can't find any OPcodes in the QEdit Wiki that look like they fit the bill.

 

Thanks in advance! and in the meantime I am going to keep going through quests to see if I can spot Sega doing anything like this.

Link to comment
Share on other sites

Dang! I was hoping I wouldn't need to cobble something together with lists, but that makes sense when I look at other quests with similar functions when asking how many tickets or such the player would like to exchange.

 

Thanks for letting me know though I'll probably keep digging through codes and my files to see if I can find another solution 😄

Link to comment
Share on other sites

Nice suggestion, in fact I already checked out another quest, something something dream I forgot the name already, that does the same thing but it uses an OPcode called "keyword"(paired with another similarly named OPcode to start the listening process) to store a string that it then looks for to activate something. So for that one to work I would sadly need to setup a keyword and register pair for any and all number combinations I want the user to be able to use.

 

In the end, looks like lists are the best fit for this and tend to work out well since you can always loop back to it for however many digits long you need/want the number to be. But one thing I have found to be my only complaint with that is the placement of the list, it is sadly always in the same place and I can't find any way to move it, tho that is just a mild annoyance >.<

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...