Jump to content
  • 0

battleground player go to other map


hakuren

Question


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

is there anyway that when like annieruru script

strnpcinfo(0)+"::OnBlueDead triggers when player died

 

i want strnpcinfo(0)+"::OnBlueTele 

like that?

 

or any npc script that triggers when player move to other map will automatically bg_leave?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Actually I don't think you can do that. As far as I know, there's no event like "OnPCLeavingMap". On the other hand, you can do a OnPCLoadMapEvent + OnPCLogoutEvent check, and apply the bg_leave if the variable is on.

Link to comment
Share on other sites


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

check using a timer addtimer or attachnpctimer + [wik=initnpctimer]

 

or use OnPCLoadMapEvent

 

check if they move to other map, then force them leave battleground using bg_leave

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