OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Undeceived on 22 Sep 2010, 21:18:37

Title: (Solved) Localize marker text
Post by: Undeceived on 22 Sep 2010, 21:18:37
How can I localize the text of a marker?


I tried to put in the text line: localize "STR_marker1name" and in the stringtable it is like:


Code: [Select]
LANGUAGE,German,English

STR_marker1name,"Feindliche Einheiten","Enemy units"


But the localized name won't appear - when I preview the mission the marker says localize "STR_marker1name"... Which means that this command is not usable in marker text lines... :(

Does anyone know how to do it?


EDIT:

Oh, I continued searching and stumbled upon the command setmarkertext! I'll try this and report back.



EDIT 2:

Yes, it worked with:

Code: [Select]
"marker1" setmarkertext localize "STR_marker1name"
Nevermind and sorry for the thread. Hope it helps someone else at least.  :-[