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
/*-- Make certain items vanish --*/ #strict 2 #appendto ARRW #appendto FARW #appendto TSWB #appendto SPER protected func Hit() { if (GetID() == FARW) { Schedule("RemoveObject()", 80, 0, 0); } else if (GetID() == SPER) { Schedule("RemoveObject()", 50, 0, 0); } else { CastParticles("MSpark", 20,5, 0,0, 25, 30, RGBa(128,128,255,0), RGBa(255,255,255,127)); RemoveObject(); return 1; } }