Pappy60 10 Posted October 7, 2009 (edited) I have a trigger to end an objective, the trigger does fire, the sniper does exit but the task status does not change in the briefing, the hint does not show and the radio message does not play..this did work in preview (before I added the isServer statements) so I know the task names are correct etc. Is this a locality issue, do I need to end the tasks a different way on the server? Cond: jolly62 in thisList and sniper1 in (thislist select 0) AND isServer AND getPos (thislist select 0) select 2 < 2; Act if (not isServer) then {exit}; tskobj_2 setTaskState "SUCCEEDED"; null = [objnull, objnull, tskobj_2, "SUCCEEDED"]; Hint "Objective Complete! Sniper Extracted!"; player setcurrenttask tskobj_3; Jolly62 vehicleRadio "RadioMsg11"; {_x action ["GETOUT", vehicle _x]; unassignVehicle _x; } foreach (units sniper1); Edited October 7, 2009 by Pappy60 Share this post Link to post Share on other sites
shuko 59 Posted October 7, 2009 (edited) jolly62 in thislist && sniper1 in jolly62 && getpos jolly62 select 2 < 2 tskobj_2 settaskstate "SUCCEEDED"; null = [objnull, objnull, tskobj_2, "SUCCEEDED"] execVM "CA\Modules\MP\data\scriptCommands\taskHint.sqf"; hint "Objective Complete! Sniper Extracted!"; player setcurrenttask tskobj_3; jolly62 vehicleradio "RadioMsg11"; sniper1 action ["EJECT", jolly62]; Edited October 7, 2009 by Shuko Share this post Link to post Share on other sites
Pappy60 10 Posted October 7, 2009 thanks shk, you are the man :) So I don't need the isServer statements at all? Share this post Link to post Share on other sites
Pappy60 10 Posted October 7, 2009 okay definately working better but I think I still need unassignVehicle, now the task is completed and the radio message plays and sniper gets out but immediately gets back in, does not follow waypoints... Share this post Link to post Share on other sites
shuko 59 Posted October 7, 2009 Oh dear, it's an AI? Then yes, add it. Share this post Link to post Share on other sites