Garry's Mod Wiki

ENTITY:GetSoundInterests

ENTITY:GetSoundInterests

number ENTITY:GetSoundInterests()

Just Added

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

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: 23ms

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