aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/conversation/_spectre_chatter_mp.gnut
blob: 74ba53714b2c2ea8ca358ff09381f183718774d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
global function SpectreChatter_MP_Init
global function PlaySpectreChatterMPLine

void function SpectreChatter_MP_Init()
{
	//ShSpectreChatter_MP_Init()
}

void function PlaySpectreChatterMPLine( entity spectre, string conversationType )
{
	#if !SPECTRE_CHATTER_MP_ENABLED
		return
	#endif
	
	foreach ( entity player in GetPlayerArray() )
		if ( ShouldPlaySpectreChatterMPLine( conversationType, player, spectre ) )
			Remote_CallFunction_Replay( player, "ServerCallback_PlaySpectreChatterMP", GetConversationIndex( conversationType ), spectre.GetEncodedEHandle() )
}