Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.