Milky Holmes Posted November 28, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 11/06/12 Last Seen: January 10, 2013 Share 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 Link to comment Share on other sites More sharing options...
Reynard Posted November 28, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 56 Reputation: 9 Joined: 09/22/12 Last Seen: August 16, 2020 Share 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 Link to comment Share on other sites More sharing options...
Milky Holmes Posted November 28, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 11/06/12 Last Seen: January 10, 2013 Author Share Posted November 28, 2012 Thankyou.. it worked when I separate the .txt... I thought something wrong with the commands.. lol thanks... Quote Link to comment Share on other sites More sharing options...
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 HolmesLink to comment
Share on other sites
2 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.