Garry's Mod Wiki

Garry's Mod Wiki

The ai library.

Methods

Returns the number of AI nodes on the map, used by the base game NPCs. For NextBots, see navmesh.
Translates a schedule name to its corresponding ID.
Returns the squad leader of the given squad.
Returns the amount of members a given squad has. See also ai.GetSquadMembers.
Returns all members of a given squad. See also ai.GetSquadMemberCount and NPC:GetSquad.
Translates a task name to its corresponding ID.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...