Dead Men Walking

Forum Archive 2023 => ARMA => dMw Gaming => Gaming Archive => Mission Review => Topic started by: TwoBad on March 07, 2016, 07:32:17 PM

Title: Mission: Wave Assault
Post by: TwoBad on March 07, 2016, 07:32:17 PM
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.
Title: Mission: Wave Assault
Post by: sulky_uk on March 07, 2016, 10:34:48 PM
so 1 extra " caused the probs...hate arma 3 map programming stuff...well done on finding it though