Skip to content

Commit

Permalink
[Added] Constructor PLAYERTASK:NewFromTarget that determines task t…
Browse files Browse the repository at this point in the history
…ype based on the target object

[Added] `PLAYERTASK:_GetTaskTypeForTarget` to get the task type based on target description
[Added] `PLAYERTASKCONTROLLER.Scores` for RECON, ESCORT and CAP
[Added] `PLAYERTASK:AddStaticObjectSuccessCondition` task success condition for dead STATIC, SET_STATIC, SCENERY or SET_SCENERY targets
[Added] `PLAYERTASK:AddReconSuccessCondition` for AUFTRAG.Type.RECON tasks for when a client is at a certain LOS distance from the target
  • Loading branch information
shaji-Dev committed Nov 10, 2024
1 parent 1f191cf commit b50d3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Moose Development/Moose/Ops/PlayerTask.lua
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function PLAYERTASK:NewFromTarget(Target, Repeat, Times, TTSType)
return PLAYERTASK:New(self:_GetTaskTypeForTarget(Target), Target, Repeat, Times, TTSType)
end

--- Determines AUFTRAG type based on the target characteristics.
--- [Internal] Determines AUFTRAG type based on the target characteristics.
-- @return #AUFTRAG.Type self
function PLAYERTASK:_GetTaskTypeForTarget(Target)

Expand Down

0 comments on commit b50d3fa

Please sign in to comment.