Garry's Mod Wiki

NPC:GetBestSoundHint

NPC:GetBestSoundHint

  table NPC:GetBestSoundHint( number types )

Description

Returns the most dangerous/closest sound hint based on the NPCs location and the types of sounds it can sense.

Arguments

1 number types
The types of sounds to choose from. See SOUND_ enums

Returns

1 table
A table with SoundHintData structure or nil if no sound hints are nearby.

Special Pages


Wikis

?

Render Time: 21ms

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