Hey guys
I'm having some troubles with all scripts of npcs.
I upgraded my tfs (change the exe, libs, etc) and now its have a problem:
How can I add these functions, or something like that to fix that?
Thanks!
I'm having some troubles with all scripts of npcs.
I upgraded my tfs (change the exe, libs, etc) and now its have a problem:
[17:35:24.190] [Error - NpcScript Interface]
[17:35:24.190] data/npc/scripts/fulladdons.luanCreatureSay
[17:35:24.205] Description:
[17:35:24.205] data/npc/lib/npcsystem/npchandler.lua:554: attempt to call global
'getDistanceTo' (a nil value)
[17:35:24.205] stack traceback:
[17:35:24.205] data/npc/lib/npcsystem/npchandler.lua:554: in function 'isInRang
e'
[17:35:24.205] data/npc/lib/npcsystem/npchandler.lua:375: in function 'onCreatu
reSay'
[17:35:24.205] data/npc/scripts/fulladdons.lua:8: in function <data/npc/scripts
/fulladdons.lua:8>
How can I add these functions, or something like that to fix that?
Thanks!