Garry's Mod Wiki

sound.EmitHint

sound.EmitHint( number hint, Vector pos, number volume, number duration, Entity owner = NULL )

Just Added

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

Description

Emits a sound hint to the game elements to react to, for example to repel or attract antlions.

Arguments

1 number hint
The hint to emit. See Enums/SOUND
2 Vector pos
The position to emit the hint at
3 number volume
The volume or radius of the hint
4 number duration
The duration of the hint in seconds
5 Entity owner = NULL

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 5
Generate Html 6
SaveChanges (1) 12
Render Body 0
Render Sidebar 6