Main Menu

Mission: Wave Assault

Started by TwoBad, March 07, 2016, 07:32:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TwoBad

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.
The Battle of Damnation Alley, 25th January 2015
\'You are hereby awarded the Military Cross, posthumously, for an act of exemplary gallantry during active operations against the enemy on land.\'
[SIGPIC][/SIGPIC]

sulky_uk

so 1 extra " caused the probs...hate arma 3 map programming stuff...well done on finding it though


I came into this world with nothing,
through careful management I\'ve got most of it left.