SunMage
New Member
- Joined
- Jun 1, 2013
- Messages
- 58
- Reaction score
- 4
So, to be more clear on what I'm wanting to do here is optional words for greeting a specific NPC, one that comes to mind is King Tibianus.
You're supposed to say "Hail king", "Hail tibianus" or something in that direction to greet him (to be able to talk with him basically).
Here is a parameter for when you have greeted the NPC.
But what is the parameter key for making optional greeting messages?
I've tried to search in library for a key that works, but none that I have found.
I'm using the latest TFS.
This is what it should look like in-game:
or
Note: You should not be able to say 'hi' or 'hello' or the normal greet words.
I know it's in the .lua files but... I can't seem to decrypt the locals to make a custom one in the .lua files :/
________________________________________________________________________________________________________________
EDIT:
That's the best I can honestly think of to work, but it doesn't work :/
You're supposed to say "Hail king", "Hail tibianus" or something in that direction to greet him (to be able to talk with him basically).
Here is a parameter for when you have greeted the NPC.
PHP:
<parameter key="message_greet" value="I greet thee, my loyal subject." />
But what is the parameter key for making optional greeting messages?
I've tried to search in library for a key that works, but none that I have found.
I'm using the latest TFS.
This is what it should look like in-game:
Code:
[B]Player:[/B] hail king
[B]King Tibianus:[/B] I greet thee, my loyal subject.
or
Code:
[B]Player:[/B] hail tibianus
[B]King Tibianus:[/B] I greet thee, my loyal subject.
Note: You should not be able to say 'hi' or 'hello' or the normal greet words.
I know it's in the .lua files but... I can't seem to decrypt the locals to make a custom one in the .lua files :/
________________________________________________________________________________________________________________
EDIT:
PHP:
keywordHandler:addKeyword({'hail king'}, StdModule.greetPlayer, {npcHandler = npcHandler, onlyFocus = true, text = 'I greet thee, my loyal subject.'})
That's the best I can honestly think of to work, but it doesn't work :/
Last edited: