From b50d3fa809c87cc727646a54a4bd1def8f074d13 Mon Sep 17 00:00:00 2001 From: Shafik Date: Sun, 10 Nov 2024 15:41:21 +0200 Subject: [PATCH] [Added] Constructor `PLAYERTASK:NewFromTarget` that determines task type 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 --- Moose Development/Moose/Ops/PlayerTask.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Ops/PlayerTask.lua b/Moose Development/Moose/Ops/PlayerTask.lua index 14b8a1b89..1d13908b6 100644 --- a/Moose Development/Moose/Ops/PlayerTask.lua +++ b/Moose Development/Moose/Ops/PlayerTask.lua @@ -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)