viewing paste Unknown #13709 | Diff

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
        .Config[0]  = 0;            //X co-ordinate of Mapname(0=random)
        .Config[1]  = 0;            //Y co-ordinate of Mapname(0=random)
        .Config[2]  = -1;           //User Limit to that map?(-1=Unlimited)
        .Config[3]  = 2999;         //MonsterID of Dummy Monster(Don't Change this)
        .Config[4]  = 55;           //X co-ordinate of dummy monster
        .Config[5]  = 110;          //X co-ordinate of dummy monster
        setmapflag .Config$,mf_loadevent;
    OnMobKill:
        monster .Config$,.Config[4],.Config[5],"Damage Test",.Config[3],1,strnpcinfo(0)+"::OnMobKill";
        end;
OnPCLoadMapEvent:
if (strcharinfo(3)==.Config$){
    announce "Welcome to the Dummy Testing Room "+strcharinfo(0)+", Show us what you got !",bc_self,0x00FF00;
}
end;
Viewed 1212 times, submitted by Dastgir.