aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/vscripts/conversation/_spectre_chatter_mp.gnut
blob: 2f9e0f8442eb41b60d2f22df64333171e6a35e82 (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_NonReplay( player, "ServerCallback_PlaySpectreChatterMP", GetConversationIndex( conversationType ), spectre.GetEncodedEHandle() )
}