Skip to content

Commit

Permalink
added setCurrentTask in the assignNotification fnc
Browse files Browse the repository at this point in the history
  • Loading branch information
Giallustio committed Dec 21, 2016
1 parent 699de08 commit 18d739b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ _pos = _this select 2;
_task = player createSimpleTask [("Capture " + _name)];
_task setSimpleTaskDescription [("Capture " + _name),("Capture " + _name),("Capture " + _name)];
_task setSimpleTaskDestination _pos;
player setCurrentTask _task;
player setVariable [str(_id),_task];
["TaskAssigned",["New task assigned!",("Capture " + _name)]] call bis_fnc_showNotification;

0 comments on commit 18d739b

Please sign in to comment.