Garry's Mod Wiki

NPC:SetSquad

NPC:SetSquad( string name )

Just Added

This was just added in the latest version (2021.01.27). It might only be available on the Dev Branch right now.

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.

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 9