OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Joiner on 15 Dec 2009, 19:59:32
-
Hi all!
Is there a way to make a multi-language briefing in Arma2? I use the F2 template to create an MP mission and it looks like it's possible to create a briefing in one language only. I've searched the forum for some info abt this, but there is only a fuzzy explanation without any examples or templates. Could you help me with this please? Thanks in advance.
-
Use localize at places where you would use a string (sentence)
-
Could you please give an example of how I can use this in the briefing?
-
Example:
$objective = "Take control of the church.";
to
$objective = localize "STR_OBJECTIVE_CHURCH";
where STR_OBJECTIVE_CHURCH is defined in the missions stringtable.
-
Thanks a lot! :good:
-
you could also use:
Language, English, German
STR_Briefing, "briefing_english.sqf", "briefing_german.sqf"
then:
[] execVM (localize "STR_Briefing");