Garry's Mod Wiki

Garry's Mod Wiki

  NPC:SetSquad( string name = nil )

Description

Assigns the NPC to a new squad. A squad can have up to 16 NPCs. NPCs in a single squad should be friendly to each other.

See also ai.GetSquadMembers and NPC:GetSquad.

NPCs within the same squad are meant to function more effectively, tactics wise.

Arguments

1 string name = nil
The new squad name to set. Do not provide this argument to reset the squad.

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...