mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#PLAYERTASK
* Added `GetTarget()`
This commit is contained in:
parent
f6eccba966
commit
79e99dcb38
@ -96,7 +96,7 @@ PLAYERTASK = {
|
||||
|
||||
--- PLAYERTASK class version.
|
||||
-- @field #string version
|
||||
PLAYERTASK.version="0.1.10"
|
||||
PLAYERTASK.version="0.1.11"
|
||||
|
||||
--- Generic task condition.
|
||||
-- @type PLAYERTASK.Condition
|
||||
@ -285,6 +285,14 @@ function PLAYERTASK:GetCoalition()
|
||||
return self.coalition
|
||||
end
|
||||
|
||||
--- [User] Get the Ops.Target#TARGET object for this task
|
||||
-- @param #PLAYERTASK self
|
||||
-- @return Ops.Target#TARGET Target
|
||||
function PLAYERTASK:GetTarget()
|
||||
self:T(self.lid.."GetTarget")
|
||||
return self.Target
|
||||
end
|
||||
|
||||
--- [USER] Add a free text description to this task.
|
||||
-- @param #PLAYERTASK self
|
||||
-- @param #string Text
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user