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

void function GruntChatter_MP_Init()
{
	//ShGruntChatter_MP_Init()
}

void function PlayGruntChatterMPLine( entity grunt, string conversationType )
{
	#if !GRUNT_CHATTER_MP_ENABLED
		return
	#endif
	
	foreach ( entity player in GetPlayerArray() )
		if ( ShouldPlayGruntChatterMPLine( conversationType, player, grunt ) )
			Remote_CallFunction_Replay( player, "ServerCallback_PlayGruntChatterMP", GetConversationIndex( conversationType ), grunt.GetEncodedEHandle() )
}