mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Indoor Spawning support
This commit is contained in:
parent
1183159ea4
commit
9940c435cf
1 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
//
|
//
|
||||||
// v3.34 Febuary 2019
|
// v3.34 Febuary 2019
|
||||||
// Added SetNextMission support
|
// Added SetNextMission support
|
||||||
|
// Indoor Spawning support
|
||||||
//
|
//
|
||||||
// v3.33 January 2019
|
// v3.33 January 2019
|
||||||
// Took out slap headshot.
|
// Took out slap headshot.
|
||||||
|
|
@ -1393,6 +1394,11 @@ function LakRabbitGame::playerSpawned(%game, %player)
|
||||||
// modified to spawn you near rabbit or flag
|
// modified to spawn you near rabbit or flag
|
||||||
function LakRabbitGame::pickTeamSpawn(%game, %team)
|
function LakRabbitGame::pickTeamSpawn(%game, %team)
|
||||||
{
|
{
|
||||||
|
//Use traditional spawnspheres for indoor maps
|
||||||
|
if($CurrentMission $= "BoxLak")
|
||||||
|
return parent::pickTeamSpawn(%game, %team);
|
||||||
|
|
||||||
|
|
||||||
//find the rabbit
|
//find the rabbit
|
||||||
%spawnNear = -1;
|
%spawnNear = -1;
|
||||||
for (%i = 0; %i < ClientGroup.getCount(); %i++)
|
for (%i = 0; %i < ClientGroup.getCount(); %i++)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue