Two Game_Text entities at once?
Post Reply
Quote
Re: Two Game_Text entities at once?
Posted by vissova on Mon Feb 4th at 7:04am 2013


I was wondering if it's possible in any way to use two Game_text entities at once. And no, I don't mean have two lines of text in the exact same position in the middle of the screen. I mean if one line of text's vertical position is 0.7 (were -1 is in the center) and the other line of text's position would be 0.8.

I've already tried this without success but I've seen a few mods were there's like an entire paragraph on-screen. Is there any way to accomplish this even without using two of these text entities? smiley




Quote
Re: Two Game_Text entities at once?
Posted by Niborius on Mon Feb 4th at 7:46am 2013


Hey,

Someone posted this in a topic on the steam forums:

Quote
After much experimenting I found that each message-line must use a 'game_text' assigned to a 'channel number' ie; the first message-line is assigned to 'channel1' and the next message-line to 'channel2', etc. Since there are only 4 channels no more than 4 lines can be shown. Also the Y position (vertical lines) are separated by just 0.5 that is line 1 is at 0.1 and the next line should be 0.15


I hope that helps!






Quote
Re: Two Game_Text entities at once?
Posted by vissova on Mon Feb 4th at 10:44pm 2013


It worked! Thanks for the help. smiley




Post Reply