Sun
Knowledge is power - France is bacon
- Joined
- Jan 26, 2015
- Messages
- 333
- Solutions
- 22
- Reaction score
- 244
When I say "bye" to an npc they just release focus and don't reply even if I add something like "elseif(msgcontains(msg, 'bye')) then
selfSay('Farewell '.. getCreatureName(cid) ..'', cid)"
The only way I've been able to get a response is by adding this line
"keywordHandler:addKeyword({'bye'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Farewell |PLAYERNAME|.'})"
however when that is added it won't release focus.
Trying to find a solution that will both reply and release focus, thanks.
selfSay('Farewell '.. getCreatureName(cid) ..'', cid)"
The only way I've been able to get a response is by adding this line
"keywordHandler:addKeyword({'bye'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Farewell |PLAYERNAME|.'})"
however when that is added it won't release focus.
Trying to find a solution that will both reply and release focus, thanks.