With a ranged weapon, you can take advantage of any opening in your opponent’s defenses.
While wielding a ranged weapon with which you have Weapon Focus, you threaten squares within 5 feet of you. You can make attacks of opportunity with that ranged weapon. You do not provoke attacks of opportunity when making a ranged attack as an attack of opportunity.
While wielding a ranged weapon, you threaten no squares and can make no attacks of opportunity with that weapon.
The text on this page is Open Game Content, and is licensed for public use under the terms of the Open Game License v1.0a.
Sources:
SECTION 15