• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua NPC problem

Suxex

Member
Joined
Aug 13, 2007
Messages
391
Reaction score
5
Location
Halland - Getinge
Hey, I have a problem with some NPCs. I cant see what they are responding.

18:14 Cranky Lizard Crone: Hello zere! Erm, iz... iz zere zomeone zere? Come clozer I can't zee zo good anymore.
18:14 God Juppi [9]: mission
18:14 Cranky Lizard Crone:

the script for him when he is answering on "mission" is:
Code:
    npcHandler:say({'Yez, yez, I could need your azziztanze indeed. I am all alone, all on my own. But ZEY will not leave me in peaze. Zeir zpiritz, zey haunt me. Zeir ghoztz long for me. ...', 'I need... you to bring me what zey are zearching. Zomezing I can give to zem zat ztopz zem from haunting me. In ziz beautiful village I have... lozt zomezing, yez. My memory, you know. ...', 'Zere are 3 cheztz zomewhere in zeze gorgeouz houzez you zee around you. You zee zem, don\'t you? My eyezight, you know. It iz fading. And I can\'t remember... which houzez zey were in. ...', 'But YOU are young, YOU can zee, YOU can find zem. Each of ze cheztz containz a... paper. A will. From memberz of my poor dezeazed family. Pleaze get zem for me, child. Will you help me?'}, cid)

My guess is that I have missed some tiny script or something. Can someone please help me what I need to add.

Thanks in advance.
/Suxex
 
I use TFS 0.4 and if I remove brackets the NPC wont answer at all :(

edit: I know if the NPC is supposed to just say one thing it shall be without brackets but Im not sure what to add if hes supposed to say more than one thing.
 
Last edited:
Pretty sure it isnt because of that :)
The sentences are 170, 188, 186 and 185 letters long.
 
It's because your NPC system doesn't support multiple delayed messages. You must either modify it to support this, or use some of the functions already posted on OtLand (search for doNPCTalkALot).
 
Back
Top