jstibbsy 54 Posted November 19, 2018 I've searched the forums and google on how to use CfgTaskDescriptions but cannot find anything helpful. Does anyone know how to implement them with bis_fnc_createtask? (I need it for localising) Cheers Share this post Link to post Share on other sites
stanhope 409 Posted November 19, 2018 You have looked at both this and this page right? Share this post Link to post Share on other sites
pierremgi 4740 Posted November 19, 2018 Did you try to use bis_fnc_setStask with classId referring to the class you declared in cfgClasses? [params, target, desc, (dest, state, priority, showNotification, isGlobal, type, shared)] call BIS_fnc_setTask Share this post Link to post Share on other sites
Larrow 2802 Posted November 20, 2018 Updated wiki page for both BIS_fnc_taskCreate and BIS_fnc_setTask to make the usage of CfgTaskDescriptions as the tasks description clearer. Spoiler //Description.ext class CfgTaskDescriptions { class byName { title = "Task byName"; description = "Task title, description and marker provided by CfgTaskDescriptions by using the config class name( byName )"; marker = ""; }; class byTaskID { title = "Task byTaskID"; description = "Task title, description and marker provided by CfgTaskDescriptions by using the taskID"; marker = ""; }; }; //initPlayerLocal.sqf [ west, "taskByName", "byName" //Description set as CfgTaskDescriptions class name ] call BIS_fnc_taskCreate; [ west, "byTaskID", //Task ID "" //Description must be an empty string, CfgTaskDescriptions searched for taskID ] call BIS_fnc_taskCreate; See Lou Montana's note on BIS_fnc_taskCreate page about localisation. Share this post Link to post Share on other sites
jstibbsy 54 Posted November 20, 2018 13 hours ago, stanhope said: You have looked at both this and this page right? I did look at them and for some reason it didn't work, I'll try again! Cheers everyone, gonna give them a go. :) Share this post Link to post Share on other sites
jstibbsy 54 Posted November 20, 2018 I got the desc.ext working and showing but for some reason it just spits out the strings like text, I made sure they weren't in speech marks or anything, did they remove string functionality? If so, does anyone know a way of localising tasks? Cheers Edit: Nvm, forgot that the str at the start has to be capital. Share this post Link to post Share on other sites