Jump to content
  • 0

One click save npc


Question

Posted

Hello, it’s me again ☺️
 

anyone bored that could possibly make this script possible?

 

npc with pub... that says [save point]
 

when a player died... he/she respawn to where the npc location. (Stacking over the npc)

 

multiple clone npc... but saved depends on where the npc is located.

 

thank you very much for good scripters.

2 answers to this question

Recommended Posts

  • 0
Posted
prontera,155,181,5	script	SavePointNPC	4_F_KAFRA1,{
	getmapxy(.@map$, .@x, .@y, BL_NPC);
	savepoint .@map$, .@x, .@y;
	mes "Save point updated to "+.@map$+"("+.@x+", "+.@y+")";
	close;
}

prontera,155,181,5	duplicate(SavePointNPC)	SavePointNPC#1	4_F_KAFRA1
prontera,155,181,5	duplicate(SavePointNPC)	SavePointNPC#2	4_F_KAFRA1
prontera,155,181,5	duplicate(SavePointNPC)	SavePointNPC#3	4_F_KAFRA1

 

  • Upvote 1
  • 0
Posted
11 hours ago, Emistry said:

prontera,155,181,5	script	SavePointNPC	4_F_KAFRA1,{
	getmapxy(.@map$, .@x, .@y, BL_NPC);
	savepoint .@map$, .@x, .@y;
	mes "Save point updated to "+.@map$+"("+.@x+", "+.@y+")";
	close;
}

prontera,155,181,5	duplicate(SavePointNPC)	SavePointNPC#1	4_F_KAFRA1
prontera,155,181,5	duplicate(SavePointNPC)	SavePointNPC#2	4_F_KAFRA1
prontera,155,181,5	duplicate(SavePointNPC)	SavePointNPC#3	4_F_KAFRA1

 

i was looking for with a chatbox but its okay.... works perfectly, thank you sir ?

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