viewing paste Unknown #23066 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
f@prt,184,362,0 script  Fire#1  HIDDEN_NPC,0,0,{
    viewpointmap instance_mapname("f@prt"),2,0,0,atoi(strnpcinfo(2)),0xFF0000;
    'Fire_T++;
//  delitem 7868, 1;
    instance_announce -1,"[Fiery Fairy Forest Instance] You have Watered down a total of "+('Fire_T)+"! Only "+('Tree_Total-'Fire_T)+" to go! Save those Fairies!",bc_map;
    specialeffect 256;
    stopnpctimer;
    disablenpc instance_npcname(strnpcinfo(0));
    donpcevent instance_npcname("Count#F_Ins")+"::OnCountKill_F";
    end;
 
OnInstanceInit:
    disablenpc instance_npcname(strnpcinfo(0));
    stopnpctimer;
    end;
    
OnEnable:
    enablenpc instance_npcname(strnpcinfo(0));
//  getmapxy instance_npcname (strnpcinfo(0),@mapx,@mapy);
//  viewpointmap instance_mapname ("f@prt"),1,.@x,.@y,2,0xFF0000;
//  viewpointmap instance_mapname("z@prt"),1, 155,203, 2, 0x0000FF;
    debugmes "Tree " + strnpcinfo(0) + " enabled";
    getmapxy .@map$, .@x, .@y,1;
    viewpointmap instance_mapname("f@prt"),1,.@x,.@y,atoi(strnpcinfo(2)),0xFF0000;
    initnpctimer;
//sleep2 1000;
//  viewpointmap instance_mapname ("f@prt"),1,.@x,.@y,2,0xFF0000;
 
    end;
 
OnTimer500:
    specialeffect 25;
    initnpctimer;
    end;
}
Viewed 711 times, submitted by Guest.