Jump to content

Question

2 answers to this question

Recommended Posts

  • 0

Provided you've already got your functional NPC file in your emulator installation, just open npc/scripts-custom.conf (or similar, can't write the exact name since I'm on cellphone) and add a line like this at the end of the file:

 

npc: npc/path/to/the/script.txt

 

Then save and @reloadscript or restart the server. The script will be loaded forever with each server start until that line is removed.

 

If you want to load a script on the run just once and without editing anything (and provided you can use the command), you can type

 

@loadnpc npc/path/to/script.txt

 

And the server will try to load the specified NPC

Share this post


Link to post
Share on other sites
  • 0

Provided you've already got your functional NPC file in your emulator installation, just open npc/scripts-custom.conf (or similar, can't write the exact name since I'm on cellphone) and add a line like this at the end of the file:

 

npc: npc/path/to/the/script.txt

 

Then save and @reloadscript or restart the server. The script will be loaded forever with each server start until that line is removed.

 

If you want to load a script on the run just once and without editing anything (and provided you can use the command), you can type

 

@loadnpc npc/path/to/script.txt

 

And the server will try to load the specified NPC

 

sorry, but I think you got it wrong.
 
Or that I expressed myself badly.
 
I want to add a new NPC (add the sprite)
 
to not need to replace original sprite.
 
I want to add the sprite to be able to use in future scripts npc.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.