wyattwic 38 Posted October 15, 2014 Hey everyone, I have two problems I need help in solving. First off, smaller map text. I need to write the position of where things spawn in small text, similar or smaller in size to the altitude indicators you will find on hills and humps. After lots and lots of back and fourth, I'm stumped. Last off, Have you ever noticed some of the vehicles pop up in odd places in the map shown before game start? Is there any way to set an awareness or something to make this accurate for all vehicles of choice during startup and gameplay? Im only concerned about empty vehicles, not ones in use. I know I have been doing a lot of question threads like this lately, and sorry, just trying to learn. Share this post Link to post Share on other sites
jshock 513 Posted October 15, 2014 (edited) For the text, you may need to use composeText and parseText. As far as your question threads, that's what this forum is for, to help those who don't know, and all of us answering questions not only we enjoy doing it, but learn a lot along the way as well :). Edited October 15, 2014 by JShock Share this post Link to post Share on other sites
wyattwic 38 Posted October 15, 2014 JShock, I am looking at composeText and parseText and I seem to be missing how to get the text onto the main map. Ill keep searching in the meantime. An example would be lovely, if possible. Thank you! Share this post Link to post Share on other sites
jshock 513 Posted October 15, 2014 (edited) May or may not work, but you'll get the idea: _mrkText = composeText [parseText "<size='2'>Marker Text>"]; //obviously change the number after "size" to whatever your're looking for _mrk setMarkerText _mrkText; And here is the page on Structured Text. Edited October 15, 2014 by JShock Share this post Link to post Share on other sites
das attorney 858 Posted October 15, 2014 Markers can only accept string, not text: Syntax: markerName setMarkerText text Parameters: markerName: String text: String Return Value: Nothing Share this post Link to post Share on other sites
dreadedentity 278 Posted October 15, 2014 Last off, Have you ever noticed some of the vehicles pop up in odd places in the map shown before game start? Is there any way to set an awareness or something to make this accurate for all vehicles of choice during startup and gameplay? Im only concerned about empty vehicles, not ones in use. reveal I know I have been doing a lot of question threads like this lately, and sorry, just trying to learn. Everybody has to start somewhere, and the community is glad to answer questions :) Share this post Link to post Share on other sites
jshock 513 Posted October 15, 2014 Markers can only accept string, not text:Syntax: markerName setMarkerText text Parameters: markerName: String text: String Return Value: Nothing In that case could this work then?: _mrkText = str (composeText [parseText "<size='2'>Marker Text>"]); Share this post Link to post Share on other sites
das attorney 858 Posted October 15, 2014 I doubt it as it doesn't even accept new line statements \n You could try it and see though. Share this post Link to post Share on other sites
wyattwic 38 Posted October 15, 2014 I have tried two variants of code via debug console to see if it will work, with no luck. Heres what I have tried. With no success. marker = createmarker ["markername",[14162.6,16187.9]]; marker setMarkerType "group_1"; mrkText = str (composeText [parseText "<size='2'>Marker Text>"]); marker setmarkertext mrkTest; setmarkertext works if there as long as mrkText is a pain old string like "test". Help is very appreciated! Share this post Link to post Share on other sites
jshock 513 Posted October 15, 2014 (edited) Well, if that didn't work I'm out of workaround ideas :p. I don't have much experience in messing with text editing in the first place, but hopefully someone will come along with a solution :). Oh and in your setMarkerText, you set it to mrkTest not mrkText, see if changing that changes anything. And the setMarkerType should be, "group1", with no "_". Edited October 15, 2014 by JShock Share this post Link to post Share on other sites
wyattwic 38 Posted October 15, 2014 When tested without the typeo, there was still no results. Ill keep playing around and see what happens. group_1 was intentional. Its the smallest markertype in the list. Share this post Link to post Share on other sites
jshock 513 Posted October 15, 2014 group_1 was intentional. Its the smallest markertype in the list. I understand that, I'm saying that "group_1" is the cfg marker class for Arma 2, not Arma 3, which is "group1". Scroll through this page to see what I mean. Share this post Link to post Share on other sites
ceeeb 147 Posted October 15, 2014 Hey everyone, I have two problems I need help in solving.First off, smaller map text. I need to write the position of where things spawn in small text, similar or smaller in size to the altitude indicators you will find on hills and humps. After lots and lots of back and fourth, I'm stumped. The default map text is defined by locations in the map's config. You can create new locations with the createLocation command. Share this post Link to post Share on other sites