Game Development Community

Changing commands for emotes

by Sean Richards · in Torque Game Engine · 01/20/2007 (5:48 pm) · 2 replies

I'm interested in chaning the commands for the emotes. I would prefer to do something like "/salute" in the CHAT window to do the salute instead of the (Standard) Cntrl + w or S. Would anyone know how to go about doing this?.

#1
01/20/2007 (6:26 pm)
In the client function that checks for what you said, have it search for things like /salute. If your strings match, then have it run the command that plays the animation.
#2
01/21/2007 (1:24 am)
Quote:In the client function that checks for what you said, have it search for things like /salute. If your strings match, then have it run the command that plays the animation.

You've completly missed what I want to do. I want to take the keyboard commands away from the client when it comes to salute and cheer ect. I want to move the commands to Chat based commands "Ect. [/salute].

Example:

Currently active salute by "control + s".
- use this command will cause your character salute.

Change:
Change the interface with salute. Looking for Chat type commands, "/salute"
- Result is char will salute via the chat UI.

**This will require a bit of rescripting.