mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Publish reworked missions with global variables
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -21,8 +21,8 @@
|
||||
do
|
||||
|
||||
-- Declare SPAWN objects
|
||||
local Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 1, 10 )
|
||||
local Spawn_A_10C = SPAWN:New("A-10C"):InitLimit( 1, 10 )
|
||||
Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 1, 10 )
|
||||
Spawn_A_10C = SPAWN:New("A-10C"):InitLimit( 1, 10 )
|
||||
|
||||
-- Choose repeat functionality
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -21,10 +21,10 @@
|
||||
do
|
||||
|
||||
-- Declare SPAWN objects
|
||||
local Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 2, 10 )
|
||||
local Spawn_MI_8MTV2 = SPAWN:New("MI-8MTV2"):InitLimit( 2, 10 )
|
||||
local Spawn_C_101EB = SPAWN:New("C-101EB"):InitLimit( 2, 10 )
|
||||
local Spawn_A_10C = SPAWN:New("A-10C"):InitLimit( 2, 10 )
|
||||
Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 2, 10 )
|
||||
Spawn_MI_8MTV2 = SPAWN:New("MI-8MTV2"):InitLimit( 2, 10 )
|
||||
Spawn_C_101EB = SPAWN:New("C-101EB"):InitLimit( 2, 10 )
|
||||
Spawn_A_10C = SPAWN:New("A-10C"):InitLimit( 2, 10 )
|
||||
|
||||
-- Choose repeat functionality
|
||||
|
||||
|
||||
Binary file not shown.
@@ -15,22 +15,22 @@
|
||||
|
||||
|
||||
-- Create the SPAWN object looking for the group (template) "Plane".
|
||||
local SpawnPlane = SPAWN:New( "Plane" )
|
||||
SpawnPlane = SPAWN:New( "Plane" )
|
||||
|
||||
-- Set the spawn mode to UnControlled.
|
||||
SpawnPlane:InitUnControlled( true )
|
||||
|
||||
-- Spawn the UnControlled Group
|
||||
local UnControlledPlane = SpawnPlane:Spawn()
|
||||
UnControlledPlane = SpawnPlane:Spawn()
|
||||
|
||||
-- Set the spawn mode back to Controlled.
|
||||
SpawnPlane:InitUnControlled( false )
|
||||
|
||||
local ControlledPlane = SpawnPlane:Spawn()
|
||||
ControlledPlane = SpawnPlane:Spawn()
|
||||
|
||||
-- Now, let's create a menu option at a player slot plane...
|
||||
-- We can only create the menu option if the player has joined the slot ...
|
||||
local PlayerPlane = CLIENT:FindByName( "PlayerPlane", "Select Menu item to activate UnControlled plane" )
|
||||
PlayerPlane = CLIENT:FindByName( "PlayerPlane", "Select Menu item to activate UnControlled plane" )
|
||||
|
||||
PlayerPlane:Alive(
|
||||
function( Client, SpawnPlane )
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6,13 +6,13 @@ local Iterations = 100
|
||||
local Iteration = 1
|
||||
|
||||
-- The PolygonGroup route defines zone 1
|
||||
local ZonePolygonGroup = GROUP:FindByName( "ZonePolygon" )
|
||||
ZonePolygonGroup = GROUP:FindByName( "ZonePolygon" )
|
||||
|
||||
-- The ZoneUnit defines zone 4.
|
||||
local ZoneUnit = UNIT:FindByName( "ZoneUnit" )
|
||||
ZoneUnit = UNIT:FindByName( "ZoneUnit" )
|
||||
|
||||
-- The ZoneGroup defines zone 5
|
||||
local ZoneGroup = GROUP:FindByName( "ZoneGroup" )
|
||||
ZoneGroup = GROUP:FindByName( "ZoneGroup" )
|
||||
|
||||
-- This is the array that models the different zones types.
|
||||
-- The selection of the zones is done by taking into account the probability of the zone.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user