Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _unit = _this select 0;
- _id = _this select 1;
- _name = _this select 2;
- _taskID = ((_this select 3) select 0);
- _taskTitle = ((_this select 3) select 1);
- _taskDescription = ((_this select 3) select 2);
- _taskMarker = ((_this select 3) select 3);
- _id = ["Add_TaskEvent", {
- systemChat format ["%1",_this];
- [west,
- [format["%1",_this select 0]],
- [format["%1",_this select 1],
- format["%1",_this select 2],
- format["%1",_this select 3]],
- objNull, 1, 3, true] call BIS_fnc_taskCreate;
- }] call CBA_fnc_addEventHandler;
- SystemChat format["%1 %2 %3 %4",_taskID,_taskTitle,_taskDescription,_taskMarker];
- _Action = [_id,_name,"",{ ["Add_TaskEvent", [format["%1",_taskID],format["%1",_taskTitle],format["%1",_taskDescription],format["%1",_taskMarker]]] call CBA_fnc_globalEventJIP; },{true}] call ace_interact_menu_fnc_createAction;
- [_unit, 0, [], _Action] call ace_interact_menu_fnc_addActionToObject;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement