Home   Help Search Login Register  

Author Topic: Multiple text lines in Control (Dialog)  (Read 1309 times)

0 Members and 3 Guests are viewing this topic.

ponq

  • Guest
Multiple text lines in Control (Dialog)
« on: 02 Jul 2004, 22:00:59 »
I'd like to have a text of more than 1 line in a text control in a dialog.
I've tried to /n or \n, but to no avail. Also the ctrl is set to multiline, but doesn't seem to make a difference.


Also, can I have scrollbars in the text ctrl (or attached/linked to it), so the player can scroll up and down the read all the text of the ctrl.

Any1 know how to do it?
« Last Edit: 02 Jul 2004, 22:24:54 by ponq »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Multiple text lines in Control (Dialog)
« Reply #1 on: 02 Jul 2004, 22:04:49 »
There is a dialog tutorial in the Editors Depot.......by VectorBosun I think.


Planck
I know a little about a lot, and a lot about a little.

ponq

  • Guest
Re:Multiple text lines in Control (Dialog)
« Reply #2 on: 02 Jul 2004, 22:13:42 »
I know. Couldn't find what I need there.
Maybe you know how to?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Multiple text lines in Control (Dialog)
« Reply #3 on: 02 Jul 2004, 22:17:27 »
If I remember correctly someone also did an addition to VectorBosons tutorial to cover bits that weren't covered.

I'll have a look and see if I can find it.


Planck
I know a little about a lot, and a lot about a little.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Multiple text lines in Control (Dialog)
« Reply #4 on: 02 Jul 2004, 22:25:23 »
1) A guy that called himself crashnburn or summin like that made a function just what you want. Try contacting him (he's registred on the forum) and ask him if he wants to release the function the the ed depot function library.
2) Dunno, you can do it other ways like pressing a "Next Page" button or summin.

:beat: *Gets Shot* :beat:

ponq

  • Guest
Re:Multiple text lines in Control (Dialog)
« Reply #5 on: 02 Jul 2004, 22:28:01 »
I'll try to contact him, thnx.

Having a next page isn't really what I want.
I'm trying to show some kind of conversation in a dialog, with text added to the conversation over time. The new text should at the first line of the ctrl, the old text right below.
But if the player wants to read the old text, he could scroll down...well that's the idea.

My first question is more important though, so I'll see if CnB know something about this.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Multiple text lines in Control (Dialog)
« Reply #6 on: 02 Jul 2004, 22:31:18 »
Dude, that's exactly why I know about this function. He realesed a dialog script, and I asked him if I can modify it for my own use to make it more advanced. He said sure. I'll see if I can dig it up, would still be better if we could contact CnB first though.

:beat: *Gets Shot* :beat:

ponq

  • Guest
Re:Multiple text lines in Control (Dialog)
« Reply #7 on: 02 Jul 2004, 22:32:44 »
great!  ;D

PM sent.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Multiple text lines in Control (Dialog)
« Reply #8 on: 02 Jul 2004, 22:38:24 »
I'm afraid he hasn't been on the forums for ages, try e-mailing or his Mod Forum. BTW, his mod looks really cool.

:beat: *Gets Shot* :beat:

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Multiple text lines in Control (Dialog)
« Reply #9 on: 02 Jul 2004, 22:41:45 »
OK......In case you still wanted to know.......

The other dialog tutorial is called 3D Dialog Tutorial and is by Igor Drukov.


Planck
I know a little about a lot, and a lot about a little.

ponq

  • Guest
Re:Multiple text lines in Control (Dialog)
« Reply #10 on: 02 Jul 2004, 22:46:09 »
Thanks Planck.
I also have "studied" that one already.
« Last Edit: 02 Jul 2004, 22:46:20 by ponq »

CrashnBurn

  • Guest
Re:Multiple text lines in Control (Dialog)
« Reply #11 on: 03 Jul 2004, 02:34:01 »
Sorry you guys but I don't have any knowledge of this. It must be someone else you're thinking of, or, I'm really getting old....  :-\

ponq

  • Guest
Re:Multiple text lines in Control (Dialog)
« Reply #12 on: 03 Jul 2004, 10:43:30 »
Armstrong, could it be some1 else made that nice function you referred too? Or is there any chance you could find it on your HD somewhere?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Multiple text lines in Control (Dialog)
« Reply #13 on: 03 Jul 2004, 11:44:29 »
Very sorry!! I meant a guy called Crashdome and his mod is Sinews of War. Hope I didn't sceared you up Crashnburn. :P

:beat: *Gets Shot* :beat:

ponq

  • Guest
Re:Multiple text lines in Control (Dialog)
« Reply #14 on: 03 Jul 2004, 11:50:46 »
np ;)

email sent to him now.