The action menu is something that is fundamentally associated with human players. AI loons work off commands that the mission designer gives them.
What is NPC? Is this a kind of addon? If so, and there is a gas mask effect that appears in your action menu, then there is probably a command that makes AI loons put their gas masks on. If it's a decent addon the readme will tell you how.