NPC's are my weak side, and I have no clue why this is happening. If more than 1 guy talks to my NPC, the talkstate will change for everyone talking to the NPC.
So if 1 guy says hi, task, then everyone else has said task. So if they say task now, nothing happens, but if they say a task, the NPC will reply.
This is how I update talkstates...
etc
Help?
So if 1 guy says hi, task, then everyone else has said task. So if they say task now, nothing happens, but if they say a task, the NPC will reply.
This is how I update talkstates...
Code:
local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_PRIVATE and 0 or cid
Code:
talkState[talkUser] = 1
talkState[talkUser] = 2
Help?