Jump to content

Recommended Posts

Hi everyone,

 

Here is the code i use  to create task -childtask here for meeting point- for the dedicated server:

 

[[west, ["Task1A","Task1"],

["

<br />

Sub-Task Description Here.

<br />

", "Sub-Task Title", ""], (getMarkerPos "Task1MeetingPoint"), true] spawn BIS_fnc_taskCreate] call BIS_fnc_MP;

I guess Arma 3 Tasks Overhaul somehow are used for notification icons.

 

I wonder if i could use image below with the above code and how?

 

https://community.bistudio.com/wiki/File:bis_tasktype_meet.png

 

Thank you for your help in advance.

 

 

Share this post


Link to post
Share on other sites

Hi R3vo,

 

Thank you for your kind reply.

 

I tried as follow:

 

_subTask1ATitle = ["AttackMike26"] call BIS_fnc_taskType;

[[west, ["Task1A","Task1"],

["

<br />

Sub-Task Description Here.

<br />

", _subTask1ATitle , ""], (getMarkerPos "Task1MeetingPoint"), true] spawn BIS_fnc_taskCreate] call BIS_fnc_MP;

and it didn't work.

 

Any idea?

 

Edited:

 

After view mins, i realized that "AttackMike25" should be the TASKID which is Task1A  and icon is working. It's written on the referance page and truely that is my bad!

 

Now trying to figure out how to locate the TASK TITLE ?

 

Any prompt help really be appreciated, Thanks in advance.

Share this post


Link to post
Share on other sites

OK, i got it now and it is SOLVED!

 

Now the code turns to be like below:

 

_SubTask1ATitle = ["Title of SubTask",[["Task1A","meet"] call BIS_fnc_taskSetType]];

[[west, ["Task1A","Task1"], 

["

<br />

Sub-Task Description Here.

<br />

", _SubTask1ATitle, ""], (getMarkerPos "Task1MeetingPoint"), true] spawn BIS_fnc_taskCreate] call BIS_fnc_MP;

 

R3vo, thank you for your help.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

BIS_fnc_taskCreate executes BIS_fnc_setTask. BIS_fnc_setTask is automatically broadcasted  to everyone and JIP. You do not need BIS_fnc_MP

  • Like 1

Share this post


Link to post
Share on other sites

Now, it is good to know the logic.

Thank you for the information davidoss

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  

×