Home   Help Search Login Register  

Author Topic: parsetext...  (Read 1260 times)

0 Members and 1 Guest are viewing this topic.

Offline fleepee

  • Members
  • *
  • Enter the Matrix!
parsetext...
« on: 05 Jul 2010, 13:11:23 »
My question is really simple, but I've allready lost a lot of time trying to solve it... :blink:
The solution may be simple, as usual, or doen't exist like often... ;)
How can I use the "parsetext" with "titletext"?

here's my code:
Code: [Select]
_scripts = parseText "<t size='2.2'>Big Thanks to all Script Makers:</t><br/>
<t align='left'>- Norrin (Revive script)<br/>
- Kronzky, (Urban Patrol Script)<br/>
- Tophe of Ostgota (Random House Patrol, Vehicle Respawn)<br/>
- Draper (Air Support)<br/>
- Odin (Gaz Bomb, Edited by FleePee)</t>";

hint _scripts;
titletext [_scripts, "plain"];
Why doest it work with "hint" and not "titletext"?
(I just want to display the text with "titletext", the "hint" is just for testing)
If I type:
Code: [Select]
titletext ["_scripts", "plain"];I of course have "_scripts" displayed on screen... :scratch:
On the picture below, you can see the result and error message.
« Last Edit: 05 Jul 2010, 13:14:25 by fleepee »

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: parsetext...
« Reply #1 on: 05 Jul 2010, 16:29:31 »
I am not sure, but probably you cannot.

Maybe do a dialog and probably you can use structured text in there.