Had another look at the task that didn't fire in last nights mission and found the reason why. If anyone is interested:
This is what the code should have said// Task 2 - COMPLETE
task_2 setTaskState "Succeeded";
["TaskSucceeded",["", "HOLD HILL 819"]] call bis_fnc_showNotification;
sleep 6;
// Task 3 - SET
task_3 = player createSimpleTask ["SECURE STADIUM"];
task_3 setSimpleTaskDescription ["Secure the area around the stadium for aerial vehicle resupply.","SECURE STADIUM","SECURE STADIUM"];
task_3 setSimpleTaskDestination (getMarkerPos "tsk3");
task_3 setTaskState "Assigned";
player setCurrentTask task_3;
["TaskAssigned",["", "SECURE STADIUM"]] call BIS_fnc_showNotification;And this is what i had// Task 2 - COMPLETE
task_2 setTaskState "Succeeded";
["TaskSucceeded",["", ""HOLD HILL 819"]] call bis_fnc_showNotification;
sleep 6;
// Task 3 - SET
task_3 = player createSimpleTask ["SECURE STADIUM"];
task_3 setSimpleTaskDescription ["Secure the area around the stadium for aerial vehicle resupply.","SECURE STADIUM","SECURE STADIUM"];
task_3 setSimpleTaskDestination (getMarkerPos "tsk3");
task_3 setTaskState "Assigned";
player setCurrentTask task_3;
["TaskAssigned",["", "SECURE STADIUM"]] call BIS_fnc_showNotification;
I have also located and fixed the reason for the frame rate drop on the last task. So hopefully we'll be ok next time we play it.
so 1 extra " caused the probs...hate arma 3 map programming stuff...well done on finding it though