mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Ok, got the function fixed.
This commit is contained in:
parent
49fc0bde16
commit
79e4e7cde8
@ -517,7 +517,7 @@ function CARGO_GROUP:Spawn( Client )
|
|||||||
self.CargoGroupName = self.CargoSpawn:SpawnFromUnit( self.CargoZone:GetCargoHostUnit(), 60, 30, 1 ):GetName()
|
self.CargoGroupName = self.CargoSpawn:SpawnFromUnit( self.CargoZone:GetCargoHostUnit(), 60, 30, 1 ):GetName()
|
||||||
else
|
else
|
||||||
--- ReSpawn the Cargo in the CargoZone without a host ...
|
--- ReSpawn the Cargo in the CargoZone without a host ...
|
||||||
self.CargoGroupName = self.CargoSpawn:SpawnInZone( self.CargoZone, 1 ):GetName()
|
self.CargoGroupName = self.CargoSpawn:SpawnInZone( self.CargoZone, true, 1 ):GetName()
|
||||||
end
|
end
|
||||||
self:StatusNone()
|
self:StatusNone()
|
||||||
end
|
end
|
||||||
|
|||||||
@ -638,9 +638,11 @@ function SPAWN:SpawnFromUnit( HostUnit, OuterRadius, InnerRadius, SpawnIndex )
|
|||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Will spawn a Group within a given @{ZONE}.
|
--- Will spawn a Group within a given @{Zone#ZONE}.
|
||||||
|
-- Once the group is spawned within the zone, it will continue on its route.
|
||||||
|
-- The first waypoint (where the group is spawned) is replaced with the zone coordinates.
|
||||||
-- @param #SPAWN self
|
-- @param #SPAWN self
|
||||||
-- @param #ZONE Zone The zone where the group is to be spawned.
|
-- @param Zone#ZONE Zone The zone where the group is to be spawned.
|
||||||
-- @param #number ZoneRandomize (Optional) Set to true if you want to randomize the starting point in the zone.
|
-- @param #number ZoneRandomize (Optional) Set to true if you want to randomize the starting point in the zone.
|
||||||
-- @param #number SpawnIndex (Optional) The index which group to spawn within the given zone.
|
-- @param #number SpawnIndex (Optional) The index which group to spawn within the given zone.
|
||||||
-- @return Group#GROUP that was spawned.
|
-- @return Group#GROUP that was spawned.
|
||||||
@ -689,6 +691,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--- Will spawn a plane group in uncontrolled mode...
|
--- Will spawn a plane group in uncontrolled mode...
|
||||||
-- This will be similar to the uncontrolled flag setting in the ME.
|
-- This will be similar to the uncontrolled flag setting in the ME.
|
||||||
-- @return #SPAWN self
|
-- @return #SPAWN self
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user