Hello, I need a guidance on how to create a proper script when one party member kills a specific mob, every party member which inside the instance map will get exp and item. I have created one based on the some examples that I have found in this forum but I am still confused.
// next events
.@map$ = instance_mapname("dew_dun02");
.@label$ = instance_npcname(strnpcinfo(0))+"::OnMyMobDead";
killmonster .@map$,.@label$;
mapannounce .@map$,"Shady Guy: Good work warriror! Please speak to me as soon as possible.",bc_all;
donpcevent instance_npcname("Shady Guy#finish")+"::OnEnable";
end;
}
Question
Rizz
Hello, I need a guidance on how to create a proper script when one party member kills a specific mob, every party member which inside the instance map will get exp and item. I have created one based on the some examples that I have found in this forum but I am still confused.
Here:
OnMyBossDead: // boss
getpartymember getcharid(1),2;
for( .@i = 0; .@i < $@partymembercount; .@i++ )
getitem 607,1,$@partymemberaid[.@i];
// next events
.@map$ = instance_mapname("dew_dun02");
.@label$ = instance_npcname(strnpcinfo(0))+"::OnMyMobDead";
killmonster .@map$,.@label$;
mapannounce .@map$,"Shady Guy: Good work warriror! Please speak to me as soon as possible.",bc_all;
donpcevent instance_npcname("Shady Guy#finish")+"::OnEnable";
end;
}
thanks..
Edited by Rizz7 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.