View Single Post
  #9  
Old 03-03-2011, 05:17 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by BboyEatsbacon View Post
Sorry, didn't make it a PHP code last time. Here!
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
  if (
player.chat == "/hug") {
    
setani("grab", "");
    
player.chat = "";
  }
  if (
player.chat == "/sit") {
    
setani("sit", "");
    
player.chat = "";
  }
  if (
player.chat == "/dance") {
    
setani("dance", "");
    
player.chat = "";
  }
} 
I don't understand why anybody would want this type of thing as a chat command, for a start it doesn't feel natural or that you're really controlling your character in the same way that you'd slash by pressing S, it doesn't look very professional, you also get alot of people expecting it to work on servers where it is not supported due to it not being a completely aparent feature (though the same applies to emoticons), and end up trying variations of it with ":" as a prefix for example, when it simply does not exist.

With something such as assigning hotkeys for this type of thing and even allowing players to customise which keys they would like to use you're not only removing delay of typing, but you'd also be providing a method inwhich for players to discover that the feature exists.
Even something simplistic and easy enough for a new developer to create such as firing a weapon could be more appropriate.
Reply With Quote