Garry's Mod Wiki

NPC:SetSquad

  NPC:SetSquad( string name )

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.

Arguments

1 string name
The new squad name to set.