Jump to content
  • 0

Auto-return to savepoint


duskdawn

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/21/12
  • Last Seen:  

Hi. Who knows the script for automatic return to savepoint when you died on a certain map? Thanks in advance!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


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

OnPCDieEvent:
warp "SavePoint",0,0;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

- script diemap -1,{
end;

OnPCDieEvent:
if(strcharinfo(3) == "your_map_here") { warp "SavePoint",0,0; }
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/21/12
  • Last Seen:  

thanks guys! ;)

Help. When I used the OnPCDieEvent of Emistry, it affected other maps not only the map i've used it to.

Is og2's OnPCDieEvent used in certain maps only? Or it affects other maps too?

Link to comment
Share on other sites


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

yes..use og2 script...i forget to add map checking.

beside..it is much more fast to get your answer if you just copy the script and run it and test it .

that wont even take you 5 minutes.

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