Version

menu_open
Wwise SDK 2023.1.2
ak.soundengine.setListeners

Sets a single game object's active listeners. By default, all new game objects have no listeners active, but this behavior can be overridden with SetDefaultListeners(). Inactive listeners are not computed. See AK::SoundEngine::SetListeners.

Arguments

Name Type Description
emitter * integer Emitter game object.
A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615]
listeners * array Array of listener game object IDs. Game objects must have been previously registered.
listeners [...] integer A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615]

(Required *)

Arguments Schema

See Also

Examples

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise