mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Implemented a WayPoints functionality for GROUPS
WayPoints can be modified on a GROUP. A function hook is called whenever a group moves over a waypoint.
This commit is contained in:
@@ -4,26 +4,26 @@ Include.File( "Spawn" )
|
||||
Include.File( "Escort" )
|
||||
|
||||
|
||||
do
|
||||
|
||||
do
|
||||
local function EventAliveHelicopter( Client )
|
||||
local EscortGroupHeli1 = SpawnEscortHeli:ReSpawn(1)
|
||||
local EscortHeli1 = ESCORT:New( Client, EscortGroupHeli1, "Escort Alpha" )
|
||||
local EscortGroupPlane = SpawnEscortPlane:ReSpawn(1)
|
||||
local EscortPlane = ESCORT:New( Client, EscortGroupPlane, "Escort Test Plane" )
|
||||
local EscortGroupGround = SpawnEscortGround:ReSpawn(1)
|
||||
local EscortGround = ESCORT:New( Client, EscortGroupGround, "Test Ground" )
|
||||
local EscortGroupPlane1 = SpawnEscortPlane:ReSpawn(1)
|
||||
local EscortPlane1 = ESCORT:New( Client, EscortGroupPlane1, "Escort Test Plane" )
|
||||
local EscortGroupGround1 = SpawnEscortGround:ReSpawn(1)
|
||||
local EscortGround1 = ESCORT:New( Client, EscortGroupGround1, "Test Ground" )
|
||||
end
|
||||
|
||||
local function EventAlivePlane( Client )
|
||||
local EscortGroupPlane = SpawnEscortPlane:ReSpawn(1)
|
||||
local EscortPlane = ESCORT:New( Client, EscortGroupPlane, "Escort Test Plane" )
|
||||
local EscortGroupPlane2 = SpawnEscortPlane:ReSpawn(1)
|
||||
local EscortPlane2 = ESCORT:New( Client, EscortGroupPlane2, "Escort Test Plane" )
|
||||
|
||||
local EscortGroupGround = SpawnEscortGround:ReSpawn(1)
|
||||
local EscortGround = ESCORT:New( Client, EscortGroupGround, "Test Ground" )
|
||||
local EscortGroupGround2 = SpawnEscortGround:ReSpawn(1)
|
||||
local EscortGround2 = ESCORT:New( Client, EscortGroupGround2, "Test Ground" )
|
||||
|
||||
local EscortGroupShip = SpawnEscortShip:ReSpawn(1)
|
||||
local EscortShip = ESCORT:New( Client, EscortGroupShip, "Test Ship" )
|
||||
local EscortGroupShip2 = SpawnEscortShip:ReSpawn(1)
|
||||
local EscortShip2 = ESCORT:New( Client, EscortGroupShip2, "Test Ship" )
|
||||
end
|
||||
|
||||
SpawnEscortHeli = SPAWN:New( "Escort Helicopter" )
|
||||
|
||||
Reference in New Issue
Block a user