Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading NPC
#1
Hi,

I am wondering whether there is a command to grab what the NPC said... Sorta like an autoresponder but I don't want my char to respond, rather load a script

For example, I want to make a script on an OT that does the particular task an NPC wants. If the NPC says "12 rotworms" it'll load the rotworm script and go there, if it says dragons, it'll go load the dragon script etc..

Obviously that would require a function to see if the sentence contains a certain sentence..... but I dont know if its possible with this scripting language.


Messages In This Thread
Reading NPC - by cgrayx - 08-26-2012, 12:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)