@LabelIndex 64511
@StringIndex 0
class 0 ai_teleport_cube_benom : instant_teleporter {
parameter:
	int	Pos_x1 = 0;
	int	Pos_y1 = 0;
	int	Pos_z1 = 0;
	int	Pos_x2 = 0;
	int	Pos_y2 = 0;
	int	Pos_z2 = 0;
	string	fnHi = "";

handler:
	EventHandler CREATED() {
		myself::AddTimerEx(2002,1200000);
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 2002 ) {
			myself::Despawn();
		}
	}

	EventHandler TELEPORT_REQUESTED(talker) {
		if( gg::Rand(100) < 50 ) {
			myself::InstantTeleport(talker,Pos_x1,Pos_y1,Pos_z1);
		} else {
			myself::InstantTeleport(talker,Pos_x2,Pos_y2,Pos_z2);
		}
	}

}
