viewing paste Unknown #21636 | 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 36 37 38 39 40 41 42
6@trivia,181,263,0      script  Star#Ins        111,0,0,{
OnTouch:
donpcevent instance_npcname("Star Power Up#Ins")+"::OnCharEffect";
//      stopnpctimer;
//      disablenpc instance_npcname(strnpcinfo(0));
        end;
 
 
OnInstanceInit:
        end;
       
OnEnable:
        initnpctimer;
        end;
 
OnTimer5000:
        specialeffect 381;
        initnpctimer;
        end;
}
2@trivia,1,2,1  script  Star Power Up#Ins       139,0,0,{
//OnTouch:
 
OnInstanceInit:
//      stopnpctimer;
 
        end;
OnCharEffect:
//      soundeffect "mario_star.wav",0;
if (attachrid('aid))
                if (getcharid(0) == 'cid)
{
        soundeffect "mario_star.wav",0;
OnTimer500:
                specialeffect 501;
                specialeffect 502;
}
}
Viewed 705 times, submitted by unknown.