- script BossNPC -1,{
OnMVPDead:
//if ( getmonsterinfo( killedrid, 22 ) ) {
set .@GID,getcharid(2);
set .@map$,strcharinfo(3);
set .@ID,killedrid;
removemapflag .@map$,mf_gvg;
announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+.@ID,0;
initnpctimer;
end;
}
Issue:
.@ID will always display 0 if I keep killing the mob that was spawned by using the script above. Everytime I do @reloadscript, the same thing happens, 0. If I restart the server and kill the mob, it will still announce as 0.
If I kill another mob and kill the MVP spawned through the script, it will display the mob ID I have killed before the MVP. Therefore the MVP itself is not updating the killedrid variable.
Question
PandaLovesHamster
Issue:
.@ID will always display 0 if I keep killing the mob that was spawned by using the script above. Everytime I do @reloadscript, the same thing happens, 0. If I restart the server and kill the mob, it will still announce as 0.
If I kill another mob and kill the MVP spawned through the script, it will display the mob ID I have killed before the MVP. Therefore the MVP itself is not updating the killedrid variable.
Help on to fix this please?
Link to comment
Share on other sites
4 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.