Jump to content
  • 0

Can Someone please help with Show and Hide NPC Problem... :(


Milky Holmes

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  11/06/12
  • Last Seen:  

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 Holmes
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   9
  • Joined:  09/22/12
  • Last Seen:  

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 by Reynard
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  11/06/12
  • Last Seen:  

Thankyou.. it worked when I separate the .txt...

I thought something wrong with the commands.. lol

thanks... :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...