| 04-14-2006, 11:29 PM | #1 | |
Is it possible to have multiple "texts" created by the DisplayTextToPlayer on a player's screen? When I use the function, it clears all past texts and displays only what I specified last. Ask for clarification... Quote from below: Quote:
~Thx in advance~ |
| 04-15-2006, 12:41 AM | #2 |
It's clearing all previous text messages on the screen? Are you sure they're not just expiring or something (if you have a very short message it will expire very fast)? It shouldn't be clearing all text messages. |
| 04-15-2006, 01:04 PM | #3 |
Unless my version of warcraft is corrupt, It shouldn't be expiring. The time is set to 99999 or something along those lines...ill try again though. |
| 04-15-2006, 01:13 PM | #4 |
well if the message you want to display is relatively long then other lines will be cleared to make room. Try displaying 2 small sentences and seeing if it works. |
| 04-15-2006, 04:26 PM | #5 |
Here's all that is in my map (excluding the init function and event) Code:
call DisplayTimedTextToPlayer(Player(0),2.4,1.4,9999,"|") call DisplayTimedTextToPlayer(Player(0),2.3,1.4,9999,"|2") This will cause the first timedtext to disappear and the second one to appear. I affirmed this by looking in the log. Both texts are in the log but only the second appears on the screen. |
| 04-15-2006, 04:44 PM | #6 |
Maybe it's the | that's doing it, since that tells war3 the next character is an escape sequence (or whatever you call it). |n is new line, |c shows color, etc. Try having messages without the |, and see if that works. |
| 04-15-2006, 04:53 PM | #7 |
Wow thats retarded...you know the x and y positions you can set for texts? Well apparently anytime you change the x or y position, it sets that position for ALL previous texts as well (with an offset to prevent overlaps)... ![]() Also, if | is for escape characters...would I use || to make a |? |
| 04-15-2006, 07:30 PM | #8 |
Haven't actually used it, but logically, yes, || would show |. |
