First of all apologies if this topic was duplicated.
I am currently working on PeoplePerson49's Monster Hunter Script, on the specific part below:
OnPCDieEvent:
OnPCLogoutEvent:
if(strcharinfo(3)!="pvp_n_1-3") { end; }
announce "A member of the party has been killed! The event is over!",bc_map;
killmonster "pvp_n_1-3","Neilay::OnMonsterKill";
killmonster "pvp_n_1-3","Neilay::OnMonsterBossKill";
if(getmapusers("pvp_n_1-3")>0) { MapRespawnGuildID "pvp_n_1-3",.HereForGiggles,7; }
set .MHStatus,0;
set .MHPartyID,0;
end;
The script ends and the event warps out all members if one member dies/log out.
I want to make it to only end when all members are dead. Couldn't find a keyword for that.
Is there something like count(OnPCDieEvent) == PartySize { then warp out } kind of of logic?
Question
cincalok
Hi all,
First of all apologies if this topic was duplicated.
I am currently working on PeoplePerson49's Monster Hunter Script, on the specific part below:
codebox
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.