Jump to content
Sign in to follow this  
thefox1787

CO OP Briefing tasks and objectives issues

Recommended Posts

I have this code for the init.sqf etc but im not sure what to do with it to get it working. The code for the init.sqf however it is using publicvariables and i dont have a clue how to use these or how they work. i wouldnt know where to start mark the task off as complete. But this does display all tasks for all the charactors with respawning if you are killed and team switching.

blueforUnits = [p1,p2];

_tskobj_2 = [];

{_tskobj_2 = _tskobj_2 + [_x createSimpleTask ["Eliminate the enemy from the camp"]];} forEach blueforUnits;

for "_i" from 0 to ((count _tskobj_2)-1) do {

(_tskobj_2 select _i) setSimpleTaskDescription ["Find the Camp and take out the enemy units", "Eliminate the enemy camp", "The Camp"];

};

_tskobj_2 spawn

{

waitUntil {campclear};

for "_i" from 0 to ((count _this)-1) do {

(_this select _i) setTaskState "Succeeded";

};

};

Edited by thefox1787

Share this post


Link to post
Share on other sites

Taskmaster by Shuko, needs some time to get familiar with but then you won't miss it anymore.

Works for all mission types, including SP missions.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×