Milky Holmes Posted November 28, 2012 Posted November 28, 2012 (edited) Hi.. I'm having a problem with hide and show npc... Can anyone see what the problem is ? the mapserver says: [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#1' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#2' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#3' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#4' (flag=0). and so on until.. [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#24' (flag=0). I'm actually trying to make an NPC that moves to another town every hour... This is the attachment --> christmas_event.txt Can anyone reply my post please... still having problem with it... Edited November 28, 2012 by Milky Holmes Quote
Reynard Posted November 28, 2012 Posted November 28, 2012 (edited) Well, i guess you get these errors as he reads the disablenpc commands before these npcs get loaded. Try placing the Disableing and Enableing Script (Santa Claus#disable) at the bottom of your txt (or another txt), so your npcs get loaded before any disableing commands get executed. christmas_event.txt Edited November 28, 2012 by Reynard Quote
Milky Holmes Posted November 28, 2012 Author Posted November 28, 2012 Thankyou.. it worked when I separate the .txt... I thought something wrong with the commands.. lol thanks... Quote
Question
Milky Holmes
Hi.. I'm having a problem with hide and show npc...
Can anyone see what the problem is ?
the mapserver says:
[Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#1' (flag=0).
[Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#2' (flag=0).
[Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#3' (flag=0).
[Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#4' (flag=0).
and so on until..
[Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#24' (flag=0).
I'm actually trying to make an NPC that moves to another town every hour...
This is the attachment --> christmas_event.txt
Can anyone reply my post please...
still having problem with it...
Edited by Milky Holmes2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.