diff --git a/Wrapper/Group/GRP-100 - IsAlive/GRP-100 - IsAlive.lua b/Wrapper/Group/GRP-100 - IsAlive/GRP-100 - IsAlive.lua deleted file mode 100644 index 27e3a00b97..0000000000 --- a/Wrapper/Group/GRP-100 - IsAlive/GRP-100 - IsAlive.lua +++ /dev/null @@ -1,32 +0,0 @@ ---- --- Name: GRP-100 - IsAlive --- Author: FlightControl --- Date Created: 23 Feb 2017 --- --- # Situation: --- --- This test is about checking if IsAlive on GROUP level is working correctly. --- Two ground forces GROUPS are shooting each other. --- Check the IsAlive status in the logging of the survivor and the defeat. --- --- # Test cases: --- --- 1. Observe the IsAlive statuses in the dcs.log file. - - - ---Create Spawn Groups -local GroupBlue = GROUP:FindByName( "Blue" ) -local GroupRed = GROUP:FindByName( "Red" ) - -local Schedule, ScheduleID = SCHEDULER:New( nil, - --- Variable Declarations - -- @param Wrapper.Group#GROUP GroupBlue - -- @param Wrapper.Group#GROUP GroupRed - function( GroupBlue, GroupRed ) - local IsAliveBlue = GroupBlue:IsAlive() - local IsAliveRed = GroupRed:IsAlive() - BASE:E( { IsAliveBlue = IsAliveBlue, IsAliveRed = IsAliveRed } ) - end, { GroupBlue, GroupRed }, 1, 1 -) - diff --git a/Wrapper/Group/GRP-100 - IsAlive/GRP-100 - IsAlive.miz b/Wrapper/Group/GRP-100 - IsAlive/GRP-100 - IsAlive.miz deleted file mode 100644 index 82ea3eee2c..0000000000 Binary files a/Wrapper/Group/GRP-100 - IsAlive/GRP-100 - IsAlive.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.lua b/Wrapper/Group/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.lua deleted file mode 100644 index efd8040ab7..0000000000 --- a/Wrapper/Group/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.lua +++ /dev/null @@ -1,30 +0,0 @@ ---- This test demonstrates the use(s) of the SwitchWayPoint method of the GROUP class. - -local HeliGroup = GROUP:FindByName( "Helicopter" ) - -local AttackGroup = GROUP:FindByName( "AttackGroup" ) - -local AttackUnits = AttackGroup:GetUnits() - -local Tasks = {} - -for i = 1, #AttackUnits do - - local AttackUnit = AttackGroup:GetUnit( i ) - Tasks[#Tasks+1] = HeliGroup:TaskAttackUnit( AttackUnit ) -end - -Tasks[#Tasks+1] = HeliGroup:TaskFunction( "_Resume", { "''" } ) - ---- @param Wrapper.Group#GROUP HeliGroup -function _Resume( HeliGroup ) - env.info( '_Resume' ) - - HeliGroup:MessageToAll( "Resuming",10,"Info") -end - -HeliGroup:PushTask( - HeliGroup:TaskCombo( - Tasks - ), 30 -) \ No newline at end of file diff --git a/Wrapper/Group/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.miz b/Wrapper/Group/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.miz deleted file mode 100644 index 0339833816..0000000000 Binary files a/Wrapper/Group/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-200 - Follow Group/GRP-200 - Follow Group.lua b/Wrapper/Group/GRP-200 - Follow Group/GRP-200 - Follow Group.lua deleted file mode 100644 index 3c414f54a6..0000000000 --- a/Wrapper/Group/GRP-200 - Follow Group/GRP-200 - Follow Group.lua +++ /dev/null @@ -1,24 +0,0 @@ - ---Create Spawn Groups -local SpawnPlane1 = SPAWN:New("Plane 1") -local SpawnPlane2 = SPAWN:New("Plane 2") - ---Spawn Groups into world -local GroupPlane1 = SpawnPlane1:Spawn() ---local GroupPlane1 = GROUP:FindByName( "Plane 1" ) -local GroupPlane2 = SpawnPlane2:Spawn() ---local GroupPlane2 = GROUP:FindByName( "Plane 2" ) - ---Create Task for plane2 (follow groupPlane1 at Vec3 offset) (Note: I think I need to be using controllers here) ---i.e. cntrlPlane1 = groupPlane1.getController(groupPlane1) - -local PointVec3 = POINT_VEC3:New( 100, 0, -100 ) -- This is a Vec3 class. - -local FollowDCSTask = GroupPlane2:TaskFollow( GroupPlane1, PointVec3:GetVec3() ) - ---Activate Task (Either PushTask/SetTask?) --- PushTask will push a task on the execution queue of the group. --- SetTask will delete all tasks from the current group queue, and executes this task. - -GroupPlane2:SetTask( FollowDCSTask, 1 ) - diff --git a/Wrapper/Group/GRP-200 - Follow Group/GRP-200 - Follow Group.miz b/Wrapper/Group/GRP-200 - Follow Group/GRP-200 - Follow Group.miz deleted file mode 100644 index 68cc7ef65d..0000000000 Binary files a/Wrapper/Group/GRP-200 - Follow Group/GRP-200 - Follow Group.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.lua b/Wrapper/Group/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.lua deleted file mode 100644 index 8355b95e10..0000000000 --- a/Wrapper/Group/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.lua +++ /dev/null @@ -1,12 +0,0 @@ ---- This test demonstrates the use(s) of the SwitchWayPoint method of the GROUP class. - -HeliGroup = GROUP:FindByName( "Helicopter" ) - ---- Route the helicopter back to the FARP after 60 seconds. --- We use the SCHEDULER class to do this. -SCHEDULER:New( nil, - function( HeliGroup ) - local CommandRTB = HeliGroup:CommandSwitchWayPoint( 2, 8 ) - HeliGroup:SetCommand( CommandRTB ) - end, { HeliGroup }, 90 -) diff --git a/Wrapper/Group/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.miz b/Wrapper/Group/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.miz deleted file mode 100644 index 36657ef5c5..0000000000 Binary files a/Wrapper/Group/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.lua b/Wrapper/Group/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.lua deleted file mode 100644 index 47012d3de2..0000000000 --- a/Wrapper/Group/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.lua +++ /dev/null @@ -1,39 +0,0 @@ ---- --- Name: GRP-310 - Command StopRoute --- Author: FlightControl --- Date Created: 25 Mar 2017 --- --- # Situation: --- A ground unit is moving. --- Using the command CommandStopMove it will stop moving after 10 seconds. --- --- # Test cases: --- --- 1. Observe the ground group stopping to move. --- - ---- @param Wrapper.Group#GROUP GroundGroup -function StopMove( GroundGroup ) - - BASE:E("Stop") - local Command = GroundGroup:CommandStopRoute( true ) - GroundGroup:SetCommand(Command) - -end - ---- @param Wrapper.Group#GROUP GroundGroup -function StartMove( GroundGroup ) - - BASE:E("Start") - local Command = GroundGroup:CommandStopRoute( false ) - GroundGroup:SetCommand(Command) - -end - -GroundGroup = GROUP:FindByName( "Ground" ) - -Scheduler = SCHEDULER:New( nil ) -ScheduleIDStop = Scheduler:Schedule(nil, StopMove, { GroundGroup }, 10, 20 ) -ScheduleIDStart = Scheduler:Schedule(nil, StartMove, { GroundGroup }, 20, 20 ) - - diff --git a/Wrapper/Group/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.miz b/Wrapper/Group/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.miz deleted file mode 100644 index 007f3fa527..0000000000 Binary files a/Wrapper/Group/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.lua b/Wrapper/Group/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.lua deleted file mode 100644 index 879bf9cd33..0000000000 --- a/Wrapper/Group/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.lua +++ /dev/null @@ -1,45 +0,0 @@ ---- --- Name: GRP-400 - RouteReturnToAirbase --- Author: FlightControl --- Date Created: 25 Mar 2017 --- --- # Situation: --- Three air units are flying and are commanded to return a specific airbase. --- --- # Test cases: --- --- 1. Observe the Air1 group return to Batumi after 10 seconds. --- 2. Observe the Air2 group returning to Kobuleti after 300 seconds. (It was planned to land at Kutaisi). --- 3. Observe the Air3 group returning to the home (landing) airbase after 300 seconds. (It was planned to land at Kutaisi). --- - ---- @param Wrapper.Group#GROUP AirGroup -function ReturnToBatumi( AirGroup ) - BASE:E("ReturnToBatumi") - AirGroup:RouteRTB( AIRBASE:FindByName("Batumi") ) -end - ---- @param Wrapper.Group#GROUP AirGroup -function ReturnToKobuleti( AirGroup ) - BASE:E("ReturnToKobuleti") - AirGroup:RouteRTB( AIRBASE:FindByName("Kobuleti") ) -end - ---- @param Wrapper.Group#GROUP AirGroup -function ReturnToHome( AirGroup ) - BASE:E("ReturnToHome") - AirGroup:RouteRTB() -end - -Air1Group = GROUP:FindByName( "Air1" ) -Air2Group = GROUP:FindByName( "Air2" ) -Air3Group = GROUP:FindByName( "Air3" ) - -Scheduler = SCHEDULER:New( nil ) -ScheduleIDAir1 = Scheduler:Schedule(nil, ReturnToBatumi, { Air1Group }, 10 ) -ScheduleIDAir2 = Scheduler:Schedule(nil, ReturnToKobuleti, { Air2Group }, 300 ) -ScheduleIDAir3 = Scheduler:Schedule(nil, ReturnToHome, { Air3Group }, 300 ) - - - - diff --git a/Wrapper/Group/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.miz b/Wrapper/Group/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.miz deleted file mode 100644 index c0f3db4437..0000000000 Binary files a/Wrapper/Group/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.lua b/Wrapper/Group/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.lua deleted file mode 100644 index 6de4df765b..0000000000 --- a/Wrapper/Group/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.lua +++ /dev/null @@ -1,21 +0,0 @@ --- This routes a GroundGroup 1km further with an angle of 180 degrees. - -local GroundGroup = GROUP:FindByName( "Vehicle" ) - --- Get the current coordinate of GroundGroup -FromCoord = GroundGroup:GetCoordinate() - --- From the current coordinate, calculate 1km away with an angle of 180 degrees. -ToCoord = FromCoord:Translate( 1000, 180 ) - -RoutePoints = {} - --- Create a "grount route point", which is a "point" structure that can be given as a parameter to a Task -RoutePoints[#RoutePoints+1] = FromCoord:RoutePointGround( 0 ) -RoutePoints[#RoutePoints+1] = ToCoord:RoutePointGround( 60, "Cone" ) - --- Create a combo task, that creates a route task to the RoutePoint -RouteTask = GroundGroup:TaskRoute( RoutePoints ) - --- Set the task to be executed by the GroundGroup -GroundGroup:SetTask( RouteTask, 1 ) \ No newline at end of file diff --git a/Wrapper/Group/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.miz b/Wrapper/Group/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.miz deleted file mode 100644 index aff7401884..0000000000 Binary files a/Wrapper/Group/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.lua b/Wrapper/Group/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.lua deleted file mode 100644 index 44530328be..0000000000 --- a/Wrapper/Group/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.lua +++ /dev/null @@ -1,16 +0,0 @@ --- This routes a GroundGroup 1km further with an angle of 180 degrees. - -local GroundGroup = GROUP:FindByName( "Vehicle" ) - --- Get the current coordinate of GroundGroup -FromCoord = GroundGroup:GetCoordinate() - --- From the current coordinate, calculate 1km away with an angle of 180 degrees. -ToCoord = FromCoord:Translate( 1000, 180 ) - - --- Create a combo task, that creates a route task to the RoutePoint -RouteTask = GroundGroup:TaskRouteToVec2( ToCoord:GetVec2() ) - --- Set the task to be executed by the GroundGroup -GroundGroup:SetTask( RouteTask, 1 ) \ No newline at end of file diff --git a/Wrapper/Group/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.miz b/Wrapper/Group/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.miz deleted file mode 100644 index 8cab3ca8c0..0000000000 Binary files a/Wrapper/Group/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.lua b/Wrapper/Group/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.lua deleted file mode 100644 index 51979c7f34..0000000000 --- a/Wrapper/Group/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.lua +++ /dev/null @@ -1,46 +0,0 @@ ---- This makes a vehicle fly to random zones when a waypoint has been reached. --- Name: GRP - Group Commands/GRP-502 - Route at waypoint to random point --- Author: FlightControl --- Date Created: 08 Aug 2017 - - -local ZoneList = { - ZONE:New( "ZONE1" ), - ZONE:New( "ZONE2" ), - ZONE:New( "ZONE3" ), - ZONE:New( "ZONE4" ), - ZONE:New( "ZONE5" ) -} - -GroundGroup = GROUP:FindByName( "Vehicle" ) - ---- @param Wrapper.Group#GROUP GroundGroup -function RouteToZone( Vehicle, ZoneRoute ) - - local Route = {} - - Vehicle:E( { ZoneRoute = ZoneRoute } ) - - Vehicle:MessageToAll( "Moving to zone " .. ZoneRoute:GetName(), 10 ) - - -- Get the current coordinate of the Vehicle - local FromCoord = Vehicle:GetCoordinate() - - -- Select a random Zone and get the Coordinate of the new Zone. - local RandomZone = ZoneList[ math.random( 1, #ZoneList ) ] -- Core.Zone#ZONE - local ToCoord = RandomZone:GetCoordinate() - - -- Create a "ground route point", which is a "point" structure that can be given as a parameter to a Task - Route[#Route+1] = FromCoord:RoutePointGround( 72 ) - Route[#Route+1] = ToCoord:RoutePointGround( 60, "Vee" ) - - local TaskRouteToZone = Vehicle:TaskFunction( "RouteToZone", RandomZone ) - - Vehicle:SetTaskAtWaypoint( Route, #Route, TaskRouteToZone ) -- Set for the given Route at Waypoint 2 the TaskRouteToZone. - - Vehicle:Route( Route, math.random( 10, 20 ) ) -- Move after a random seconds to the Route. See the Route method for details. - -end - -RouteToZone( GroundGroup, ZoneList[1] ) - diff --git a/Wrapper/Group/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.miz b/Wrapper/Group/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.miz deleted file mode 100644 index a03983102a..0000000000 Binary files a/Wrapper/Group/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.lua b/Wrapper/Group/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.lua deleted file mode 100644 index 330e3fbc26..0000000000 --- a/Wrapper/Group/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.lua +++ /dev/null @@ -1,45 +0,0 @@ ---- This makes a vehicle drive to random zones when a waypoint has been reached. --- Name: GRP - Group Commands/GRP-503 - NTTR Route at waypoint to random point --- Author: FlightControl --- Date Created: 08 Aug 2017 - - -local ZoneList = { - ZONE:New( "ZONE1" ), - ZONE:New( "ZONE2" ), - ZONE:New( "ZONE3" ), - ZONE:New( "ZONE4" ), - ZONE:New( "ZONE5" ), -} - -VehicleGroup = GROUP:FindByName( "Vehicle #001" ) - ---- @param Wrapper.Group#GROUP RoutedGroup -function ReRoute( VehicleGroup ) - - VehicleGroup:E( "Routing" ) - - local ZoneNumber = math.random( 1, #ZoneList ) - VehicleGroup:E( ZoneNumber ) - - local FromCoord = VehicleGroup:GetCoordinate() -- Core.Point#COORDINATE - local FromWP = FromCoord:WaypointGround() - - local ZoneTo = ZoneList[ ZoneNumber ] -- Core.Zone#ZONE - local ToCoord = ZoneTo:GetCoordinate() - local ToWP = ToCoord:WaypointGround( 72, "Vee" ) - - local TaskReRoute = VehicleGroup:TaskFunction( "ReRoute" ) - VehicleGroup:SetTaskWaypoint( ToWP, TaskReRoute ) - - VehicleGroup:Route( { FromWP, ToWP }, 1 ) - -end - -ReRoute( VehicleGroup ) - - - - - - diff --git a/Wrapper/Group/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.miz b/Wrapper/Group/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.miz deleted file mode 100644 index ce26e78315..0000000000 Binary files a/Wrapper/Group/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-550 - Patrol a route/GRP-550 - Patrol a route.lua b/Wrapper/Group/GRP-550 - Patrol a route/GRP-550 - Patrol a route.lua deleted file mode 100644 index 685a5826d5..0000000000 --- a/Wrapper/Group/GRP-550 - Patrol a route/GRP-550 - Patrol a route.lua +++ /dev/null @@ -1,17 +0,0 @@ ---- This makes a vehicle drive its route in a repetitive way. --- Name: GRP-550 - Patrol a route --- Author: FlightControl --- Date Created: 24 Sep 2017 - - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Patrol the route of the Vehicle. -Vehicle:PatrolRoute() - --- Find the Ship and create a GROUP object. -Ship = GROUP:FindByName( "Ship" ) - --- Patrol the route of the Ship. -Ship:PatrolRoute() diff --git a/Wrapper/Group/GRP-550 - Patrol a route/GRP-550 - Patrol a route.miz b/Wrapper/Group/GRP-550 - Patrol a route/GRP-550 - Patrol a route.miz deleted file mode 100644 index cc4b849bcf..0000000000 Binary files a/Wrapper/Group/GRP-550 - Patrol a route/GRP-550 - Patrol a route.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.lua b/Wrapper/Group/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.lua deleted file mode 100644 index 17949556e8..0000000000 --- a/Wrapper/Group/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.lua +++ /dev/null @@ -1,17 +0,0 @@ ---- This makes a vehicle drive its route using the waypoints of the route and selecing random points on the route. --- Name: GRP-551 - Patrol to random points of a route --- Author: FlightControl --- Date Created: 24 Sep 2017 - - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Patrol to random points of the route at 120 km/h in "Vee" formation. -Vehicle:PatrolRouteRandom( 120, "Vee" ) - --- Find the Ship and create a GROUP object. -Ship = GROUP:FindByName( "Ship" ) - --- Patrol to random points of the route at 120 km/h in "Vee" formation. -Ship:PatrolRouteRandom( 120, "Vee" ) diff --git a/Wrapper/Group/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.miz b/Wrapper/Group/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.miz deleted file mode 100644 index 408e9669b9..0000000000 Binary files a/Wrapper/Group/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.lua b/Wrapper/Group/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.lua deleted file mode 100644 index 926a790e9b..0000000000 --- a/Wrapper/Group/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.lua +++ /dev/null @@ -1,16 +0,0 @@ ---- This makes a vehicle drive its route selecting random points in a zone. --- Name: GRP-552 - Patrol in a zone --- Author: FlightControl --- Date Created: 24 Sep 2017 - - -- Find the Vehicle and create a GROUP object. - Vehicle = GROUP:FindByName( "Vehicle" ) - - -- Patrol to random points in the trigger zone ZONE, at 120 km/h in Vee format. - Vehicle:PatrolZones( { ZONE:New( "ZONEVEHICLE" ) }, 120, "Vee" ) - - -- Find the Vehicle and create a GROUP object. - Ship = GROUP:FindByName( "Ship" ) - - -- Patrol to random points in the trigger zone ZONE, at 120 km/h in Vee format. - Ship:PatrolZones( { ZONE:New( "ZONESHIP" ) }, 120, "Vee" ) diff --git a/Wrapper/Group/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.miz b/Wrapper/Group/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.miz deleted file mode 100644 index 77ca0c0f38..0000000000 Binary files a/Wrapper/Group/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.lua b/Wrapper/Group/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.lua deleted file mode 100644 index d7f821d839..0000000000 --- a/Wrapper/Group/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.lua +++ /dev/null @@ -1,16 +0,0 @@ ---- This makes a vehicle drive its route selecting random points in a zone. --- Name: GRP-553 - Patrol in a list of zones --- Author: FlightControl --- Date Created: 24 Sep 2017 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Patrol to random points in the trigger zones ZONEVEHICLE1, ZONEVEHICLE2, ZONEVEHICLE3, at 120 km/h in Vee format. -Vehicle:PatrolZones( { ZONE:New( "ZONEVEHICLE1" ), ZONE:New( "ZONEVEHICLE2" ), ZONE:New( "ZONEVEHICLE3" ) }, 120, "Vee" ) - --- Find the Ship and create a GROUP object. -Ship = GROUP:FindByName( "Ship" ) - --- Patrol to random points in the trigger zones ZONESHIP1, ZONESHIP2, ZONESHIP3, at 120 km/h in Vee format. -Ship:PatrolZones( { ZONE:New( "ZONESHIP1" ), ZONE:New( "ZONESHIP2" ), ZONE:New( "ZONESHIP3" ) }, 120, "Vee" ) diff --git a/Wrapper/Group/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.miz b/Wrapper/Group/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.miz deleted file mode 100644 index d27a8c9f86..0000000000 Binary files a/Wrapper/Group/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-600 - Respawn.miz b/Wrapper/Group/GRP-600 - Respawn.miz deleted file mode 100644 index d0b781b10d..0000000000 Binary files a/Wrapper/Group/GRP-600 - Respawn.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.lua b/Wrapper/Group/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.lua deleted file mode 100644 index e44d649a56..0000000000 --- a/Wrapper/Group/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.lua +++ /dev/null @@ -1,11 +0,0 @@ ---- This makes a vehicle respawn itself when the mission starts. --- The vehicle is hidden, so you need to observe from the watch tower! --- Name: GRP-601 - Respawn hidden --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Respawn the vehicle. -Vehicle:Respawn() \ No newline at end of file diff --git a/Wrapper/Group/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.miz b/Wrapper/Group/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.miz deleted file mode 100644 index 1acdcd3403..0000000000 Binary files a/Wrapper/Group/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.lua b/Wrapper/Group/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.lua deleted file mode 100644 index 40b26485f2..0000000000 --- a/Wrapper/Group/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.lua +++ /dev/null @@ -1,16 +0,0 @@ ---- This makes a vehicle respawn itself when the mission starts. --- Name: GRP-600 - Respawn --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1. -RespawnZone1 = ZONE:New( "ZONEVEHICLE1") - --- Prepare the spawning to be done in RespawnZone1. -Vehicle:InitZone( RespawnZone1 ) - --- Respawn the vehicle in RespawnZone1. -Vehicle:Respawn() \ No newline at end of file diff --git a/Wrapper/Group/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.miz b/Wrapper/Group/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.miz deleted file mode 100644 index c765efe4eb..0000000000 Binary files a/Wrapper/Group/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.lua b/Wrapper/Group/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.lua deleted file mode 100644 index 447a9fd440..0000000000 --- a/Wrapper/Group/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.lua +++ /dev/null @@ -1,18 +0,0 @@ ---- This makes a vehicle respawn itself within ZONEVEHICLE1. --- The vehicle group consists of multiple units and are spawned in relation to the original template position. --- --- Name: GRP-611 - Respawn multiple units in Zone --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1. -RespawnZone1 = ZONE:New( "ZONEVEHICLE1") - --- Prepare the spawning to be done in RespawnZone1. -Vehicle:InitZone( RespawnZone1 ) - --- Respawn the vehicle in RespawnZone1. -Vehicle:Respawn() \ No newline at end of file diff --git a/Wrapper/Group/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.miz b/Wrapper/Group/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.miz deleted file mode 100644 index 4c6c83d9d0..0000000000 Binary files a/Wrapper/Group/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.lua b/Wrapper/Group/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.lua deleted file mode 100644 index acd0ef570a..0000000000 --- a/Wrapper/Group/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.lua +++ /dev/null @@ -1,19 +0,0 @@ ---- This makes a vehicle respawn itself within ZONEVEHICLE1. --- The vehicle group consists of multiple units and are spawned in randomized within the new zone. --- --- Name: GRP-612 - Respawn multiple units in Zone randomized. --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1. -RespawnZone1 = ZONE:New( "ZONEVEHICLE1") - --- Prepare the spawning to be done in RespawnZone1. -Vehicle:InitZone( RespawnZone1 ) -Vehicle:InitRandomizePositionZone( true ) - --- Respawn the vehicle in RespawnZone1. -Vehicle:Respawn() \ No newline at end of file diff --git a/Wrapper/Group/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.miz b/Wrapper/Group/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.miz deleted file mode 100644 index 38b0eacde0..0000000000 Binary files a/Wrapper/Group/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.lua b/Wrapper/Group/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.lua deleted file mode 100644 index 1ea21c9e2e..0000000000 --- a/Wrapper/Group/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.lua +++ /dev/null @@ -1,17 +0,0 @@ ---- This makes a vehicle respawn within ZONEVEHICLE1. --- The vehicle is hidden, so you need to observe at the watch tower through external view. --- Name: GRP-615 - Respawn in Zone hidden --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1. -RespawnZone1 = ZONE:New( "ZONEVEHICLE1") - --- Prepare the spawning to be done in RespawnZone1. -Vehicle:InitZone( RespawnZone1 ) - --- Respawn the vehicle in RespawnZone1. -Vehicle:Respawn() \ No newline at end of file diff --git a/Wrapper/Group/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.miz b/Wrapper/Group/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.miz deleted file mode 100644 index 9c70ab61f5..0000000000 Binary files a/Wrapper/Group/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.lua b/Wrapper/Group/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.lua deleted file mode 100644 index af7d29b1d8..0000000000 --- a/Wrapper/Group/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.lua +++ /dev/null @@ -1,19 +0,0 @@ ---- This makes a vehicle respawn itself within ZONEVEHICLE1. --- The vehicle group consists of multiple units and are spawned in relation to the original template position. --- The vehicle is hidden, so you need to observe from the watch tower (external view). --- --- Name: GRP-616 - Respawn multiple units in Zone hidden --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1. -RespawnZone1 = ZONE:New( "ZONEVEHICLE1") - --- Prepare the spawning to be done in RespawnZone1. -Vehicle:InitZone( RespawnZone1 ) - --- Respawn the vehicle in RespawnZone1. -Vehicle:Respawn() \ No newline at end of file diff --git a/Wrapper/Group/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.miz b/Wrapper/Group/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.miz deleted file mode 100644 index d505820d07..0000000000 Binary files a/Wrapper/Group/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.lua b/Wrapper/Group/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.lua deleted file mode 100644 index 005a9c99f6..0000000000 --- a/Wrapper/Group/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.lua +++ /dev/null @@ -1,20 +0,0 @@ ---- This makes a vehicle respawn itself within ZONEVEHICLE1 hidden. --- The vehicle group consists of multiple units and are spawned in randomized within the new zone. --- The vehicle is hidden, so you need to observe from the watch tower (external view). --- --- Name: GRP-617 - Respawn multiple units in Zone randomized hidden --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1. -RespawnZone1 = ZONE:New( "ZONEVEHICLE1") - --- Prepare the spawning to be done in RespawnZone1. -Vehicle:InitZone( RespawnZone1 ) -Vehicle:InitRandomizePositionZone( true ) - --- Respawn the vehicle in RespawnZone1. -Vehicle:Respawn() \ No newline at end of file diff --git a/Wrapper/Group/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.miz b/Wrapper/Group/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.miz deleted file mode 100644 index 386a8872a2..0000000000 Binary files a/Wrapper/Group/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.lua b/Wrapper/Group/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.lua deleted file mode 100644 index a654277c0b..0000000000 --- a/Wrapper/Group/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.lua +++ /dev/null @@ -1,29 +0,0 @@ ---- This makes a vehicle respawn itself within ZONEVEHICLE1. --- The vehicle group consists of multiple units and are spawned in randomized within the new zone. --- When the last vehicle of the group is destroyed, the group will respawn. --- --- Name: GRP-620 - Respawn multiple units when destroyed --- Author: FlightControl --- Date Created: 01 Mar 2018 - --- Find the Vehicle and create a GROUP object. -Vehicle = GROUP:FindByName( "Vehicle" ) - --- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1. -RespawnZone1 = ZONE:New( "ZONEVEHICLE1") - --- Prepare the spawning to be done in RespawnZone1. -Vehicle:InitZone( RespawnZone1 ) -Vehicle:InitRandomizePositionZone( true ) - -Vehicle:HandleEvent( EVENTS.Dead ) -function Vehicle:OnEventDead( EventData ) - - self:E( { "Size ", Size = Vehicle:GetSize() } ) - - -- When the last vehicle of the group is declared dead, respawn the group. - if Vehicle:GetSize() == 1 then - -- Respawn the vehicle in RespawnZone1. - Vehicle:Respawn() - end -end \ No newline at end of file diff --git a/Wrapper/Group/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.miz b/Wrapper/Group/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.miz deleted file mode 100644 index 367baac335..0000000000 Binary files a/Wrapper/Group/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.miz and /dev/null differ diff --git a/Wrapper/Group/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.lua b/Wrapper/Group/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.lua deleted file mode 100644 index 6083e5218c..0000000000 --- a/Wrapper/Group/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.lua +++ /dev/null @@ -1,27 +0,0 @@ ---- --- Name: GRP-900 - Option Green and Red State --- Author: FlightControl --- Date Created: 10 Dec 2017 --- --- This tests the option to set the alarm state of a group to RED or GREEN. --- Both options are tested with two groups. --- Please check the dcs.log in case of errors, and the time the group reacts to the approaching target. --- The Red State Group should react much faster than the Green State Group. --- --- Join the Game Master to observe the reaction of the ground units. --- --- Blue is attacking. --- Green is defending. --- - - -RedStateGroup = GROUP:FindByName( "Red State" ) -GreenStateGroup = GROUP:FindByName( "Green State" ) - - -RedStateGroup:OptionAlarmStateRed() -GreenStateGroup:OptionAlarmStateGreen() - - - - diff --git a/Wrapper/Group/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.miz b/Wrapper/Group/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.miz deleted file mode 100644 index 52e6a5a3b4..0000000000 Binary files a/Wrapper/Group/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.miz and /dev/null differ