mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Correct inprecise documentation
This commit is contained in:
parent
de3f8f529f
commit
09325a8615
@ -1069,7 +1069,7 @@ end
|
|||||||
-- if MySetGroup:AnyPartlyInZone(MyZone) then
|
-- if MySetGroup:AnyPartlyInZone(MyZone) then
|
||||||
-- MESSAGE:New("At least one GROUP is partially in the zone, but none are fully in it !", 10):ToAll()
|
-- MESSAGE:New("At least one GROUP is partially in the zone, but none are fully in it !", 10):ToAll()
|
||||||
-- else
|
-- else
|
||||||
-- MESSAGE:New("No GROUP are in zone, or one GROUP is completely in it !", 10):ToAll()
|
-- MESSAGE:New("No GROUP are in zone, or one (or more) GROUP is completely in it !", 10):ToAll()
|
||||||
-- end
|
-- end
|
||||||
function SET_GROUP:AnyPartlyInZone(Zone)
|
function SET_GROUP:AnyPartlyInZone(Zone)
|
||||||
self:F2(Zone)
|
self:F2(Zone)
|
||||||
|
|||||||
@ -596,7 +596,7 @@ end
|
|||||||
-- @param Core.Zone#ZONE_BASE Zone The zone to test.
|
-- @param Core.Zone#ZONE_BASE Zone The zone to test.
|
||||||
-- @return #number The number of UNITs that are in the @{Zone}
|
-- @return #number The number of UNITs that are in the @{Zone}
|
||||||
function GROUP:CountInZone( Zone )
|
function GROUP:CountInZone( Zone )
|
||||||
self:F2( {slef.GroupName, Zone} )
|
self:F2( {self.GroupName, Zone} )
|
||||||
local Count = 0
|
local Count = 0
|
||||||
|
|
||||||
for UnitID, UnitData in pairs( self:GetUnits() ) do
|
for UnitID, UnitData in pairs( self:GetUnits() ) do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user