Garry's Mod Wiki

ENTITY:GetSoundInterests

ENTITY:GetSoundInterests

  number ENTITY:GetSoundInterests()

Description

Called every second to poll the sound hint interests of this SNPC. This is used in conjunction with other sound hint functions, such as sound.EmitHint and NPC:GetBestSoundHint.

This hook only exists for ai type SENTs

Returns

1 number types
A bitflag representing which sound types this NPC wants to react to. See SOUND_ enums.

Special Pages


Wikis

?

Render Time: 40ms

DB GetPage 19
Generate Html 4
SaveChanges (1) 7
Render Body 0
Render Sidebar 7