I need to know ASAP what function to use to issue a team command to cover myself, I'm customizing a flag grab script and want it to give the command without actually using the team chat help.
appreciate any help
LouCypher
09-12-2003, 01:48 PM
commandToServer( 'CannedChat', 'ChatCmdDefendMe', false );
commandToServer( 'CannedChat', 'ChatHelp', false );
commandToServer( 'CannedChat', 'ChatCmdTakeFlag', false );
I think those are the ones you're looking for. You probably want to use ChatHelp.
You have to send the canned chat item to have the task generated properly unless you're using TeamIDFixer by Ilys and want to get more complicated just to send custom text.
Vectar
09-15-2003, 04:35 AM
So what if I want to use a custom voice pack sound on a given event?
CannedChat.cs only seems to cover standard sounds.