Added 3 new test missions and updated and fixed some documentation issues.

This commit is contained in:
FlightControl
2016-07-06 08:17:36 +02:00
parent fd548484c9
commit 0938fc6d80
36 changed files with 207 additions and 150 deletions

View File

@@ -0,0 +1,12 @@
--- 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
)