mirror of
https://github.com/fortressforever/fortressforever-scripts.git
synced 2024-11-24 13:31:05 +00:00
moved DEFENDERS_OBJECTIVE_ONCAP/_ONCARRIER/_ONFLAG out of startup()
This commit is contained in:
parent
ddf7b29a58
commit
66fab40a5c
3 changed files with 16 additions and 12 deletions
|
@ -6,6 +6,10 @@ FLAG_RETURN_TIME = 60;
|
|||
INITIAL_ROUND_DELAY = 45;
|
||||
TEAM_SWITCH_DELAY = 4
|
||||
NUM_PHASES = 4
|
||||
|
||||
DEFENDERS_OBJECTIVE_ONCAP = true
|
||||
DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried
|
||||
DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
-- sounds, right?
|
||||
|
@ -18,10 +22,6 @@ end
|
|||
function startup()
|
||||
SetGameDescription("Invade Defend")
|
||||
|
||||
DEFENDERS_OBJECTIVE_ONCAP = true
|
||||
DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried
|
||||
DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS
|
||||
|
||||
-- set up team limits
|
||||
local team = GetTeam( Team.kBlue )
|
||||
team:SetPlayerLimit( 0 )
|
||||
|
|
|
@ -8,6 +8,10 @@ TEAM_SWITCH_DELAY = 4
|
|||
NUM_PHASES = 3
|
||||
NONINITIAL_ROUND_DELAY = 45;
|
||||
RESPAWN_AFTER_CAP = false
|
||||
|
||||
DEFENDERS_OBJECTIVE_ONCAP = true
|
||||
DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried
|
||||
DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS
|
||||
-----------------------------------------------------------------------------
|
||||
function respawnall()
|
||||
BroadCastMessage( "Area Captured. Respawning..." )
|
||||
|
@ -24,10 +28,6 @@ end
|
|||
function startup()
|
||||
SetGameDescription("Invade Defend")
|
||||
|
||||
DEFENDERS_OBJECTIVE_ONCAP = true
|
||||
DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried
|
||||
DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS
|
||||
|
||||
-- set up team limits
|
||||
local team = GetTeam( Team.kBlue )
|
||||
team:SetPlayerLimit( 0 )
|
||||
|
|
|
@ -8,13 +8,17 @@ IncludeScript("base_id");
|
|||
IncludeScript("base_respawnturret");
|
||||
IncludeScript("base_location");
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
-- globals
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
DEFENDERS_OBJECTIVE_ONCAP = true
|
||||
DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried
|
||||
DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS
|
||||
|
||||
function startup()
|
||||
SetGameDescription( "Invade Defend" )
|
||||
|
||||
DEFENDERS_OBJECTIVE_ONCAP = true
|
||||
DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried
|
||||
DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS
|
||||
|
||||
-- set up team limits
|
||||
local team = GetTeam( Team.kBlue )
|
||||
team:SetPlayerLimit( 0 )
|
||||
|
|
Loading…
Reference in a new issue