Hello when entering a map I would like the summon monster dies
I do not get error in console when entering the map with summon
- script Sample -1,{
OnInit:
set .Map$,"prt_fild01";
setmapflag .Map$,mf_loadevent;
end;
OnPCLoadMapEvent:
if(mobcount( .Map$,"Summon::On"+strcharinfo(3)+"") == 1 ) && (getcharid(0)){
killmonster.Map$,"Summon::On"+strcharinfo(3)+"";
end;
} else {
end;
}
}