View Single Post
  #1  
Old 04-25-2012, 06:17 AM
garglius1 garglius1 is offline
Butcher of the Kingdoms
Join Date: Mar 2004
Location: Montreal, Quebec
Posts: 213
garglius1 is on a distinguished road
Send a message via MSN to garglius1
if (playerchats) question

I've been working on my house level in graal kingdoms (my first experience with level design/scripting NPCs), and I'd like to make it so an NPC acts when I say a certain word. Right now I can have it act whenever I say anything with the

if (playerchats) {
}

command, but I'd like it to act when I say a specific word rather than any word. I've been trying to figure it out by watching some of your videos/reading guides but I can't get the solution to my specific issue, and I thought you'd be the one to ask.

Thanks for your help!
__________________
-Garg, the former GK Pro-

5813... WHAT!
Reply With Quote