Jump to content
  • 0

Is it possible to reload 1 NPC script only?


healthydude

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   2
  • Joined:  02/05/13
  • Last Seen:  

Hello Everyone,

 

As the title says, is it possible for me to reload 1 NPC script without doing @reloadscript or restarting the whole server? 

I've just started scripting about 5-6 days ago.

 

I'll appreciate the reply from anyone, thanks in advance!

 

healthydude

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


@Loadnpc <npcpath>

@Unloadnpc <npcpath> 

  • Upvote 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

should be

 

@unloadnpcfile <npc path>

@loadnpc <npc path>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   2
  • Joined:  02/05/13
  • Last Seen:  

@Loadnpc <npcpath>
@Unloadnpc <npcpath> 

 

Thanks, this really helped a lot. Great job my friend! :)

 

healthydude

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   2
  • Joined:  02/05/13
  • Last Seen:  

Hello everyone,

I want to know how to use @loadnpc in detail, it always mention script could not be loaded.

How I use it:

 

@loadnpc warper.txt

 

healthydude

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@loadnpc npc/warper.txt
@loadnpc <npc path>

it is the same inside here

trunk/npc/scripts_custom.conf

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

See trunk/doc/atcommands.txt for documentation and examples of atcommands.

  • Upvote 2
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...