Alright, I use the switch command to allow me to show the user text and give them a list of what to reply, but the reply is always to long. I know that /n is used for alert, but what can I do to tab it down in the switch command.
ID:327023
Feb 22 2012, 4:34 pm
|
|
#1 Feb 22 2012, 4:38 pm
|
|
Can you give an example?
| |
#2 Feb 22 2012, 4:39 pm
|
||
| ||
#3 Feb 22 2012, 4:46 pm
|
|
I don't think what you're trying to do is even possible.
| |
#4 Feb 22 2012, 4:49 pm
|
|
Seriously? No way to make numerous lines of text off of one little thing? Guess I will shorten the responses. Thx anyways.
| |
#5 Feb 22 2012, 4:52 pm
|
|
I would use an interface for these or a pane ... and just a href each line of text.
Obviously they pick there response by clicking the text and then repeat. Up to you however interfaces allow for more customizability graphics styles colors etc. | |
#6 Feb 22 2012, 4:52 pm
|
||
It is very possible, maybe you're doing it wrong.
| ||
#7 Feb 22 2012, 4:57 pm
|
|
I think he meant for the text in list ...
| |
#8 Feb 22 2012, 5:51 pm
|
||
Yeah, what he's trying to achieve is for each possible selection in the list to be broken up to take up more than one line. The only way I can think to do this would be with a custom designed interface element.
Edit: Example of what he's trying to do:
That, in an input window. | ||
#9 Feb 22 2012, 6:20 pm
|
|
Maybe you should make it a suggestion to be able to do so or to be able to make it automatically word wrap it to the next line if it's too long...but as far as I know you can't make it currently because the selection would have to expand to multiple lines of text & the control their using for selection just doesn't have that ability natively, they'd have to program their own control for selecting items from a list to add that function...
Even just the ability to resize the window might be nice though because seriously, if you could make it wider you could read the whole response...or if there was code to make the input window wider as an extra named paremeter passed to input(width) & it just opened wider... If you make your own interface though you can do it whatever way you want... Another way could be not to use input at all & click a response on-screen or possibly in the text output have it show the possible responses & make that clickable...have to do a little work so the actions carried out are valid since you can't exactly make the options un-clickable after.... | |
#10 Feb 22 2012, 7:55 pm
|
|
I can't see them making something possible that users can already do if they simply make their own controls.
| |
#11 Feb 23 2012, 4:12 pm
|
|
Alright, so how would I create an interface, I've been meaning to do that anyways. Any help on the subject would be greatly appreciated. Thanks in advance.
| |
Scroll down and look for guides dealing with the interface. Lummox JR has a full series: Lesson One, Lesson Two, Lesson Three, Lesson Four.
| |
#13 Feb 23 2012, 4:23 pm
|
|
Wait, and interface that pops up when you talk to the Npc's, correct?
| |
I think you can create custom dialog boxes with some library out there, I don't recall. You can also use the browser to have displayed what you want in HTML. Albeit if you create an interface you have to redesign the complete UI and then you can add dialog boxes according to what you want/need.
| |
#15 Feb 23 2012, 4:46 pm
|
|
So, I would need to use Lummox JR's?
| |
#16 Feb 23 2012, 4:47 pm
|
|
You don't need to, but you can. His guide was great for the newbies to interfaces.
| |
#17 Feb 23 2012, 4:53 pm
|
|
Thank you, also, do you know if his includes the way to make a pop-up window like I need?
| |