Further updating of Demonstration Missions

This commit is contained in:
Sven Van de Velde
2016-12-08 14:19:29 +01:00
parent 3b31fca7c0
commit 618fdb8405
48 changed files with 0 additions and 0 deletions
@@ -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
)