mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge pull request #319 from FlightControl-Master/FlightControl
Added test mission to test respawning
This commit is contained in:
commit
59f7b56ceb
@ -1,5 +1,5 @@
|
|||||||
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
||||||
env.info( 'Moose Generation Timestamp: 20170318_0737' )
|
env.info( 'Moose Generation Timestamp: 20170319_0533' )
|
||||||
local base = _G
|
local base = _G
|
||||||
|
|
||||||
Include = {}
|
Include = {}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
||||||
env.info( 'Moose Generation Timestamp: 20170318_0737' )
|
env.info( 'Moose Generation Timestamp: 20170319_0533' )
|
||||||
local base = _G
|
local base = _G
|
||||||
|
|
||||||
Include = {}
|
Include = {}
|
||||||
|
|||||||
@ -0,0 +1,23 @@
|
|||||||
|
-- Name: SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval
|
||||||
|
-- Author: FlightControl
|
||||||
|
-- Date Created: 18 Mar 2017
|
||||||
|
--
|
||||||
|
-- # Situation:
|
||||||
|
--
|
||||||
|
-- At Gudauta spawn multiple ground vehicles, in a scheduled fashion.
|
||||||
|
-- The vehicle should respawn when killed.
|
||||||
|
--
|
||||||
|
-- # Test cases:
|
||||||
|
--
|
||||||
|
-- 1. Observe that the ground vehicles are spawned at the position declared within the mission editor.
|
||||||
|
-- 2. The vehicles should spawn according the scheduler parameters.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- Tests Gudauta
|
||||||
|
-- -------------
|
||||||
|
Spawn_Vehicle_1 = SPAWN:New( "Spawn Vehicle 1" ):InitLimit( 1, 0 ):SpawnScheduled( 30, .5 )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user