priority: Number - (Optional) priority. When the current task is completed, the system selects the one with the largest priority >= 0. To avoid auto assignment of that task, give it a priority of -1.
showNotification: Boolean - (Optional, default true) true to show notification, false to disable it
type: String - (Optional, default "") vanilla or custom task type; if not defined, empty (no) type is used
visibleIn3D: Boolean - (Optional, default false) true to make task always visible in 3D
class CfgTaskDescriptions
{
class myTask
{
title = "$STR_MyTaskTitle";
description = "$STR_MyTaskDescription";
};
};
This should allow tasks to be localised for every player in MP if created locally.
You can use "myTask" as description (3rd) parameter.
Important
For a proper localisation everywhere, see Hypoxic125's note below.
Hypoxic125
Example of Correct Localization Setup Using CfgTaskDescriptions
class CfgTaskDescriptions
{
class hyp_infiltrate
{
title = "STR_HYP_TASKS_INFILTRATE_TITLE";
description = "STR_HYP_TASKS_INFILTRATE_DESCRIPTION";
// requires stringtable key - NOT localized string// note the lack of "$" before the stringtable key - if "$" is included, languages will be incorrect
};
};