Jump to content
  • 0

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


Question

Posted (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 by Milky Holmes

2 answers to this question

Recommended Posts

Posted (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 by Reynard

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...