Jump to content
  • 0

One click save npc


IvanD

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.03
  • Content Count:  110
  • Reputation:   0
  • Joined:  11/13/17
  • Last Seen:  

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.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.03
  • Content Count:  110
  • Reputation:   0
  • Joined:  11/13/17
  • Last Seen:  

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 ?

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