It is currently Fri Nov 21, 2008 1:20 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: new parameter for speech.mul hook
PostPosted: Mon Nov 13, 2006 4:51 am 
Offline
Certified POL Expert
User avatar

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 794
Location: Chicago, IL USA
Is it possible to have another parameter in the speech.mul hook to indicate whether its a textcmd or not? Either a bool param or the actual speech itself? The reason I'm asking this is because I use the hook to of course support speech.mul triggering many different things like vendors and housing but they trigger even when players are messaging eachother and such using textcmds or using textcmds that don't even exist like .buy and such.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 30, 2006 10:49 am 
Offline
Certified POL Expert
User avatar

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 794
Location: Chicago, IL USA
Actually I want to change my request to the extra parameter listing all text. Why would I request it instead of doing it in a packethook? Because in speech.mul tokens, theres also some variance to what can trigger it.

Example:
Speech token 0x15A
* follow
Obviously this is for tamed animals. But the speech.mul hook will only say that follow was said, not what was said before it. Adding in all text that was said to the speech.mul hook will fix this problem.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl