hakuren Posted June 20, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share Posted June 20, 2014 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? Quote Link to comment Share on other sites More sharing options...
Alayne Posted June 20, 2014 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 342 Reputation: 170 Joined: 02/25/12 Last Seen: January 24, 2022 Share Posted June 20, 2014 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. Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 2, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 15 hours ago Share Posted July 2, 2014 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 Quote Link to comment Share on other sites More sharing options...
Question
hakuren
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.