Garry's Mod Wiki

SoundHintData

Description

Table describing a sound hint, used by NPC:GetBestSoundHint and sound.GetLoudestSoundHint.

Parameters

Vector origin
Origin of the sound hint
Entity owner
Owner of the sound hint, if any (emitting entity, like a thumper)
Entity target
Target of the sound hint, if any
number volume
Volume of the sound hint
number expiration
CurTime based expiration date
boolean expires
Does this sound hint expire?