@LabelIndex 68835
@StringIndex 0
class 0 antaras_clear_npc_summon2 : default_npc {
parameter:
	int	suicide1_x = 0;
	int	suicide2_x = 0;
	int	suicide3_x = 0;
	int	suicide4_x = 0;
	int	suicide5_x = 0;
	int	suicide6_x = 0;
	int	suicide1_y = 0;
	int	suicide2_y = 0;
	int	suicide3_y = 0;
	int	suicide4_y = 0;
	int	suicide5_y = 0;
	int	suicide6_y = 0;
	int	zerging_spawn_x = 0;
	int	zerging_spawn_y = 0;
	int	dice = 0;

handler:
	EventHandler CREATED() {
		myself::LookNeighbor(1000);
		myself.i_ai0 = 0;
		myself.i_ai1 = 0;
		myself::AddTimerEx(1001,1000);
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 1001 ) {
			myself::BroadcastScriptEventEx(12007,myself.i_ai1,myself.i_ai0,100);
			myself::Despawn();
		}
	}

	EventHandler SEE_CREATURE(creature,i1,i2,c2) {
		if( myself::IsInCategory(3,creature.occupation) != 0 ) {
			myself.i_ai0 = gg::GetIndexFromCreature(creature);
			myself.i_ai1 = ( myself.i_ai1 + 1 );
		}
	}

}
