Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
PlayCommunication
Syntax
C++
int PlayCommunication(IFunctionHandler * pH, ScriptHandle entityId, const char* commName, const char* channelName, float contextExpiry);
Parameters 
Description 
ScriptHandle entityId 
AI's entity id AI's entity id 
const char* commName 
The name of the communication to play The name of the communication to play 
const char* channelName 
The name of the channel where the communication will play The name of the channel where the communication will play 

!

AI.PlayCommunication(entityId, commName, channelName[, targetId] [, targetPos])

! Plays communication on the AI agent.!  

!  

!  

Syntax: AI.PlayCommunication(entityId, commName, channelName[, targetId] [, targetPos]) 

Plays communication on the AI agent.

Copyright (c) 2012. All rights reserved.