@LabelIndex 70778
@StringIndex 11379
class 0 ai_event_cow_summoner2 : default_npc {
handler:
	EventHandler CREATED(i0,i1,i2,i3) {
		myself::Say("    !!!! NPC  ");
		myself::AddTimerEx(20000,10000);
		i0 = gg::Rand(100);
		if( i0 <= 50 ) {
			myself::CreateOnePrivateEx(1013192,"event_ai_glommy_big_cow",0,0,gg::FloatToInt(myself.sm.x),gg::FloatToInt(myself.sm.y),gg::FloatToInt(myself.sm.z),( myself::GetDirectionToTarget(myself.sm) * 182 ),gg::GetIndexFromCreature(myself.sm),0,0);
		} else {
			myself::CreateOnePrivateEx(1013031,"e_big_pig",0,0,gg::FloatToInt(myself.sm.x),gg::FloatToInt(myself.sm.y),gg::FloatToInt(myself.sm.z),( myself::GetDirectionToTarget(myself.sm) * 182 ),gg::GetIndexFromCreature(myself.sm),0,0);
		}
	}

	EventHandler TIMER_FIRED_EX(timer_id,i0,i1,i2,c0) {
		if( timer_id == 20000 ) {
			myself::Despawn();
		}
	}

}
