new npc

Tio Akima

New member
Messages
349
Points
0
Age
36
Discord
TioAkima#0636
Github
Tio Akima
Emulator
Hello
 
How do I add new NPC's?
 
(add new npc's no need to replace an existing already).
 
thanks
 
default_biggrin.png

 
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

 
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.
 
Back
Top