Home   Help Search Login Register  

Author Topic: setMarkerTextLocal more than 1 line text?  (Read 1820 times)

0 Members and 1 Guest are viewing this topic.

Offline myke13021

  • Contributing Member
  • **
  • Myke
setMarkerTextLocal more than 1 line text?
« 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  ;)

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: setMarkerTextLocal more than 1 line text?
« Reply #1 on: 20 Mar 2007, 14:42:09 »
Try to insert \n (backslash and n) to break lines!

Code: [Select]
Unitname\n12 Units in Group\nNo Vehicle
Fix bayonet!

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: setMarkerTextLocal more than 1 line text?
« Reply #2 on: 20 Mar 2007, 15:18:47 »
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.

Offline Cheetah

  • Former Staff
  • ****
Re: setMarkerTextLocal more than 1 line text?
« Reply #3 on: 20 Mar 2007, 15:24:29 »
It has to be the backslash, so it's indeed a good thing to check.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: setMarkerTextLocal more than 1 line text?
« Reply #4 on: 20 Mar 2007, 20:04:49 »
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.

Offline Cheetah

  • Former Staff
  • ****
Re: setMarkerTextLocal more than 1 line text?
« Reply #5 on: 20 Mar 2007, 22:37:21 »
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'.
« Last Edit: 21 Mar 2007, 08:53:50 by Cheetah »
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: setMarkerTextLocal more than 1 line text?
« Reply #6 on: 21 Mar 2007, 08:25:20 »
I had no luck with multiline marker text (nor with multiline radiochats)..

Tried the new commands like composeText, text and lineBreak but no go..
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.