mirror of
https://github.com/FlightControl-Master/MOOSE_Demos.git
synced 2025-08-15 10:37:47 +00:00
Added mission Wrapper/Group/551-Patrol-to-random-points-of-a-route
This commit is contained in:
parent
df49f5d189
commit
1e79830b51
@ -0,0 +1,29 @@
|
||||
---
|
||||
-- Author: FlightControl
|
||||
-- Created: 24.09.2017
|
||||
-- Contributors: kaltokri
|
||||
-- Modified: 26.02.2024
|
||||
--
|
||||
-- # Documentation:
|
||||
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Wrapper.Group.html
|
||||
--
|
||||
-- # Description:
|
||||
-- This makes vehicles drive its route in a random way.
|
||||
--
|
||||
-- # Guide:
|
||||
-- 1. Start the mission and wait some seconds.
|
||||
-- 2. Press F10 to observe the ship and the tank traveling around.
|
||||
-- 3. The boat will drive to a random red marking on the F10 map.
|
||||
-- 4. The APC will drive to a random one of the placed cones.
|
||||
|
||||
-- Find the Vehicle and create a GROUP object.
|
||||
Vehicle = GROUP:FindByName( "Vehicle" )
|
||||
|
||||
-- Patrol to a random chosen waypoint 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 a random chosen waypoint of the route at 120 km/h in "Vee" formation.
|
||||
Ship:PatrolRouteRandom( 120, "Vee" )
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user