1268995
Member
- Joined
- Sep 9, 2010
- Messages
- 422
- Reaction score
- 13
I have a npc are giving talkstate to people.
Example: Player say 'hi' and win talkstate = 1
player say 'love you' and win talkstate = 2
But when player leaves, he still with talkstate npc gaved him.
In example, if he leaves, he will stay with talkstate = 2
I want that when player leave OR SAY BYE, talkstate goes to = 0 again.
IS that possible?
Edit: i see that when player log out, talk state is set to = 0
Example: Player say 'hi' and win talkstate = 1
player say 'love you' and win talkstate = 2
But when player leaves, he still with talkstate npc gaved him.
In example, if he leaves, he will stay with talkstate = 2
I want that when player leave OR SAY BYE, talkstate goes to = 0 again.
IS that possible?
Edit: i see that when player log out, talk state is set to = 0