mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixed error in SPAWN:RandomizeTemplate()
-- Units started in wrong x, y position (at the template, instead of at the master template of the SPAWN). -- Adjusted x, y and alt to the start position of the first unit of the master template. -- Added a test mission Moose_Test_SPAWN_RandomizeTemplate. -- Regenerated MOOSE.lua
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
-- Tests Gudauta
|
||||
-- --------------
|
||||
-- Limited spawning of groups, scheduled every 15 seconds, with RandomizeTemplate ...
|
||||
|
||||
Templates = { "Template1", "Template2", "Template3", "Template4" }
|
||||
|
||||
Spawn_Ground1 = SPAWN:New( "Spawn Vehicle1" ):Limit( 4, 20 ):RandomizeTemplate(Templates):SpawnScheduled( 15, 0 )
|
||||
Spawn_Ground2 = SPAWN:New( "Spawn Vehicle2" ):Limit( 4, 20 ):RandomizeTemplate(Templates):SpawnScheduled( 15, 0 )
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user