Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SendChatMessage
Syntax
C++
int SendChatMessage(IFunctionHandler * pH, int type, ScriptHandle sourceId, ScriptHandle targetId, const char * msg);
Parameters 
Description 
int type 
Message type. 
ScriptHandle sourceId 
Source identifier. 
ScriptHandle targetId 
Target identifier. 
const char * msg 
Message string. 

Syntax: GameRules.SendChatMessage( int type, ScriptHandle sourceId, ScriptHandle targetId, const char *msg ) 

Sends a text message from the source to the target with the specified type and text. 

 

Copyright (c) 2012. All rights reserved.