aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/_misc.gnut
blob: 20b53c5028558f972f23249458e99533948b70c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//todo figure out where these stub functions should be and move them to those places
global function Spotting_Init
global function FW_Border_GlobalInit
global function IsVDUTitan
global function PIN_PlayerRodeoedEnemyTitanToCompletion
global function PlayerProgressionAllowed

void function Spotting_Init()
{

}

void function FW_Border_GlobalInit()
{
	AddSpawnCallbackEditorClass( "func_brush", "func_brush_fw_territory_border", RemoveFWBorder )
}

void function RemoveFWBorder( entity border )
{
	if ( GameModeRemove( border ) )
		return

	if ( !border.HasKey( "gamemode_" + GAMETYPE ) )
		border.Destroy()
}

bool function IsVDUTitan(entity titan)
{
	return false
}

void function PIN_PlayerRodeoedEnemyTitanToCompletion( entity player, entity titan, bool playerHadBattery )
{

}

bool function PlayerProgressionAllowed( entity player )
{
	return true
}