Version

menu_open
virtual bool AK::SoundFrame::ISoundFrame::PlayEvents ( LPCWSTR *  in_pszEvents,
long  in_cEvents,
AkGameObjectID  in_gameObjectID = IGameObject::s_WwiseGameObject  
) [pure virtual]

Trigger playback of events in Wwise (using event names).

This function is thread-safe.

Note.gif
Note: Using the AK::SoundFrame::IGameObject::s_WwiseGameObject will result in playback on the default game object in Wwise.
Caution.gif
Caution: Event playback in Wwise is not synchronized. Even if multiple events are sent in the same PlayEvents() call, they might not all start at the exact same time.
Returns:
True if the operation was successful, False otherwise
See also:
Parameters:
in_pszEvents  Array of event names
in_cEvents  Number of events in in_pszEvents
in_gameObjectID  Game object on which events will be played (optional)

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