Jump to content
  • 0

When death on map 1 times, How to config sent to savepoint.


mannices

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/13/12
  • Last Seen:  

When death on map 1 times, How to config sent to savepoint.

1. I want config some map, If character death 1 time sent to savepoint now.

2. If config death 2 times???

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

When death on map 1 times, How to config sent to savepoint.

-	script	kjhfksjdhfks	-1,{
OnPCDieEvent:
if ( strcharinfo(3) == "prontera" )
	warp "Save", 0,0;
end;
}

2. If config death 2 times???
-    script    kjhfksjdhf2ks    -1,{
OnPCLoadMapEvent:
   if ( strcharinfo(3) == "guild_vs1" )
       @death_count = 0;
   end;
OnPCDieEvent:
   if ( strcharinfo(3) == "guild_vs1" ) {
       @death_count++;
       if ( @death_count >= 2 )
       warp "Save", 0,0;
   }
   end;
}
guild_vs1    mapflag    loadevent

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