Garry's Mod Wiki

NPC:SetForceCrouch

  NPC:SetForceCrouch( boolean force )

Recently Added

This was recently added in version (2025.08.08). It might only be available on the Dev Branch right now.

Description

Forces given NPC to crouch, if it is able to do so. Only Citizens and Combine Soldiers can by default.

Arguments

1 boolean force
Whether to force the NPC to crouch or not. false clears the "force crouch" flag, but does not guarantee to force the NPC to stand back up.