diff --git a/helotraining_rewrite.Altis/createDropoffLZ.sqf b/helotraining_rewrite.Altis/createDropoffLZ.sqf index d6346e1..8618825 100644 --- a/helotraining_rewrite.Altis/createDropoffLZ.sqf +++ b/helotraining_rewrite.Altis/createDropoffLZ.sqf @@ -45,7 +45,8 @@ private _assignTo = [_assignToPlayer, west]; // PONDER: make a parent task "ferry squad X" ?? private _taskid = format["dropoff_%1", lzCounter]; -[_assignTo,[_taskid],[_longdesc, _shortdesc, _shortestDesc],getPos _lzLocation,"CREATED",(STARTPRIORITY-lzCounter),true, _taskType, true] call BIS_fnc_taskCreate; +[_assignTo,[_taskid],[_longdesc, _shortdesc, _shortestDesc],getPos _lzLocation,"AUTOASSIGNED",(STARTPRIORITY-lzCounter),true, _taskType, true] call BIS_fnc_taskCreate; +// Doesn't actually assign the task, maybe we need to remoteExec this (though it should still work for me as host and it doesn't...) _assignToPlayer setCurrentTask ([_taskid,_assignToPlayer] call BIS_fnc_taskReal); private _trg = createTrigger["EmptyDetector",getPos _lzLocation, false]; diff --git a/helotraining_rewrite.Altis/createPickupLZ.sqf b/helotraining_rewrite.Altis/createPickupLZ.sqf index a77cf83..8acd2aa 100644 --- a/helotraining_rewrite.Altis/createPickupLZ.sqf +++ b/helotraining_rewrite.Altis/createPickupLZ.sqf @@ -53,7 +53,7 @@ if (!(_assignExtra isEqualTo false)) then { _longdesc = _longdesc + format["
Created for %1", _assignExtra]; _assignTo = _assignTo + _assignExtra; - _taskState = "CREATED"; +// _taskState = "CREATED"; }; @@ -61,6 +61,7 @@ if (!(_assignExtra isEqualTo false)) then // PONDER: make a parent task "ferry squad X" ?? private _taskid = format["pickup_%1", lzCounter]; [_assignTo,[_taskid],[_longdesc, _shortdesc, _shortestDesc],getPos _lzLocation,_taskState,(STARTPRIORITY-lzCounter),true, _taskType, true] call BIS_fnc_taskCreate; +// Doesn't actually assign the task, maybe we need to remoteExec this (though it should still work for me as host and it doesn't...) if (!(_assignExtra isEqualTo false)) then { {