function shoot_event() { if (event_type == EVENT_SHOOT) { ent_playsound(my,whamm,50); ptr_remove(me); // disappear when hit } } action exploding_barrel_shoot() { my.ENABLE_SHOOT = ON; my.emask |= ENABLE_SHOOT; my.event = shoot_event; }
► Aktuelle Version Online