If an NPC has a choice of more than one text to say, it always chooses the same one.
This thread has been raised for my own records, so that I do not forget about it. If anyone does know the answer though, please jump in.
[COLOR="#FF0000"][SIZE=3]THE ISSUE[/SIZE][/COLOR]
[SIZE=3][COLOR="#0000FF"]Test Case[/COLOR][/SIZE]
Terl Arakor - Wetlands (Entry 2153)
This NPC has the following responses (there are more) when a player character interacts with him:
TEXT 1
[QUOTE]This is MY WAGON
MINE![/QUOTE]
TEXT 2
[QUOTE]On my way down here from Dun Algaz I saw a gnoll hunting Threshadons in the middle of a lake. If you've never seen a dog try to use a spear, you're in for a treat![/QUOTE]
If you add these to the npc_text table and link them to the NPC via the gossip_menu table, the NPC should pick one based on the probability value set in the prob0 field (0 to 1) of the records in the npc_text table. That's how I see it, anyway; I could be wrong.
This is not working; it just picks the same text every time.
npc_text (see prob0 field description):
[url]https://github.com/cmangos/issues/wiki/npc_text[/url]
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now