Scripting Display Problem

Started by Fortunado, Sat 26/06/2004 02:47:14

Previous topic - Next topic

Fortunado

Hi, I'm working on an in-game computer type system in AGS and this had to be done with scripting.Now so far it was going alright but I ran into an error when trying to use roughly 2 5 sentence paragrahs of text with the Display command.I tried and first it gave me the 300 characters a line limitation.I fixed this and then I got a error of too much text so I found out I can only fit about 1 sentence per display command.So is there anyway I could display any more text at once or perhaps have some way to scroll down through the block of text.I know I could have a sentence a time but the text dosen't split up well and I'd rather try and get at least 1 paragrah a time than clicking for the next sentence by sentence.

Also is it possible to make the white text box take up more space on the screen?

1 last query is user-keyboard input possible?

Thanks-

Scorpiorus

Quote from: Fortunado on Sat 26/06/2004 02:47:14So is there anyway I could display any more text at once...
Try using global messages - they can be longer than the usual strings. DisplayMessage can be used to display global messages.

QuoteAlso is it possible to make the white text box take up more space on the screen?
It's stretched automatically depending on how much text it displays.

Quote1 last query is user-keyboard input possible?
There is an on_key_press function in the main global script, the IsKeyPressed one (see manual), and you can use the GUI textbox control to get the input from the user.

SMF spam blocked by CleanTalk