OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: myke13021 on 20 Mar 2007, 14:15:19
-
Is it possible to generate more than 1 line of text with the setmarkertextlocal command? So it looks somethin like this (only the look, the text itself i can insert myself):
Unitname
12 Units in Group
No Vehicle
Thx in advance for your replies ;)
-
Try to insert \n (backslash and n) to break lines!
Unitname\n12 Units in Group\nNo Vehicle
-
i thought i already tried it with backslash (knowing this works for hints and cuttext stuff) but reading your post makes me unsure if i hit the frontslash instead of backslash accidentaly....will try later when i get to my arma pc.
-
It has to be the backslash, so it's indeed a good thing to check.
-
well, back on my ArmA PC i did some tests with the backslash thingy and i can definately say \n doesn't work with setmarkertextlocal.
So if anyone has an idea how i could get a Markertext with multiple lines, let me know.
-
Hmm, if this isn't possible one way or another, you might want to look into creating an empty marker, but with a marker text. Don't know if that works, although I have a bad feeling that it won't work. Think that I've been there and done that, don't know if it works in ArmA and can't remember if I actually did it 'by the book'.
-
I had no luck with multiline marker text (nor with multiline radiochats)..
Tried the new commands like composeText (http://www.ofpec.com/COMREF/ArmAOnly/index.php?action=list&game=All&letter=c#composeText), text (http://www.ofpec.com/COMREF/ArmAOnly/index.php?action=list&game=All&letter=t#text) and lineBreak (http://www.ofpec.com/COMREF/ArmAOnly/index.php?action=list&game=All&letter=l#lineBreak) but no go..