Garry's Mod Wiki

Garry's Mod Wiki

  Entity:EmitStepSound( boolean isLeftFoot, number volume = 1 )

Recently Added

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

Description

Plays a sound of a step depending on the surface below the entity's foot.

It will use attachments "RightFoot" or "LeftFoot" to decide where to check the surface at. If the attachments do not exist, it will use regular Valve Biped skeleton bones. If they don't exist, it will fallback to the entity's origin.

Arguments

1 boolean isLeftFoot
Determines whether the step is a right foot or a left foot.

This is used for certain NPCs such as Eli to determine what sound should be played. This also determines the position of the sound.

2 number volume = 1
The volume, from 0 to 1.

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