Skip to content

new fonction in npctalkonce, add into chest and fishing

omatt requested to merge omatt/serverdata:narrator_talk into master

'npctalk' display a message over the head of npc, and a text in chat.

  • The problem, npc with hiden name send a broken nick (of course, because the name are hiden, then start by a #).

  • For solve this problem i use a 'setnpcdisplay(hidenName, theNameWantedShow)' + 'npctalk "text", 0 , 3;' + 'setnpcdisplay(hidenName, hidenName)'.

  • So the npc is temporary named "theNameWantedShow" (i set to "Narrator"), the text is display, and the npc getback the good name.

  • that require to be tested. Just fishing is a good test, when you use a bait, then warp and comeback for see if the spot has the his name changed or not. (if not is good)

Merge request reports

Loading