mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
[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
This commit is contained in:
parent
1f191cf9bb
commit
b50d3fa809
@ -273,7 +273,7 @@ function PLAYERTASK:NewFromTarget(Target, Repeat, Times, TTSType)
|
|||||||
return PLAYERTASK:New(self:_GetTaskTypeForTarget(Target), Target, Repeat, Times, TTSType)
|
return PLAYERTASK:New(self:_GetTaskTypeForTarget(Target), Target, Repeat, Times, TTSType)
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Determines AUFTRAG type based on the target characteristics.
|
--- [Internal] Determines AUFTRAG type based on the target characteristics.
|
||||||
-- @return #AUFTRAG.Type self
|
-- @return #AUFTRAG.Type self
|
||||||
function PLAYERTASK:_GetTaskTypeForTarget(Target)
|
function PLAYERTASK:_GetTaskTypeForTarget(Target)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user