diff options
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_aitdm.nut | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_aitdm.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_aitdm.nut index 38c9cacd..9a94b848 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_aitdm.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_aitdm.nut @@ -267,7 +267,7 @@ void function Spawner_Threaded( int team ) if ( RandomInt( points.len() ) ) { entity node = points[ GetSpawnPointIndex( points, team ) ] - waitthread AiGameModes_SpawnDropShip( node.GetOrigin(), node.GetAngles(), team, 4, SquadHandler ) + waitthread Aitdm_SpawnDropShip( node, team ) continue } } @@ -281,6 +281,12 @@ void function Spawner_Threaded( int team ) } } +void function Aitdm_SpawnDropShip( entity node, int team ) +{ + thread AiGameModes_SpawnDropShip( node.GetOrigin(), node.GetAngles(), team, 4, SquadHandler ) + wait 20 +} + // Based on points tries to balance match void function Escalate( int team ) { |