Jump to content
BlacKnightBK

Simple Task not working

Recommended Posts

I have created this simple task as a sub Task of another one. However, it is not appearing even though the Test hint is executed and appearing on screen. Is there something I am doing wrong?

 

params [];

private _pos = getArray (missionConfigFile >> "locations" >> "kavalaSquare" >> "pos");

private _oper = localize "STR_C_SideMission";
private _parent = localize "STR_SMMK_Operation";
private _briefing = localize "STR_FM_KavSideBrief";

private _task = [west, [_oper,_parent], [_briefing, _oper, "Kavala"], _pos, "Created", 5, true, "meet", true] call BIS_fnc_taskcreate;
hint "Test --> Trig Activated";
_task;

 

Share this post


Link to post
Share on other sites

I have tried taking it out of the function file and run as a script instead same result

Share this post


Link to post
Share on other sites
[player, [localize "STR_C_SideMission",  localize "STR_SMMK_Operation"],
[
    localize "STR_FM_KavSideBrief",
    localize "STR_C_SideMission",
    localize "STR_C_SideMission"
],
_pos,1,5,true,"meet"] call BIS_fnc_taskCreate;

 

Try this? No idea why your variant wouldn't work. Either something fucked up with the variables or the faction west, or because you're putting it into _task?

Share this post


Link to post
Share on other sites

The code I posted has to work, because I took it straight from my files and just replaced its content with your stuff. If this doesn't work, then something else is at fault.

Share this post


Link to post
Share on other sites

I have the same function working at other points of the mission file, but not here for some reason, I tried taking it out and placing it at other points same result

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

×