Version

    Other Documentation

menu_open
Wwise SDK 2022.1.8

◆ ExecuteActionOnEvent() [2/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::ExecuteActionOnEvent ( const char *  in_pszEventName,
AkActionOnEventType  in_ActionType,
AkGameObjectID  in_gameObjectID = AK_INVALID_GAME_OBJECT,
AkTimeMs  in_uTransitionDuration = 0,
AkCurveInterpolation  in_eFadeCurve = AkCurveInterpolation_Linear,
AkPlayingID  in_PlayingID = AK_INVALID_PLAYING_ID 
)

Executes an Action on all nodes that are referenced in the specified Event in an Action of type Play.

Returns
  • AK_Success if the action was successfully queued.
  • AK_IDNotFound if the Event was not found (not loaded or there is a typo in the ID)
See also
Parameters
in_pszEventName Name of the event
in_ActionType Action to execute on all the elements that were played using the specified event.
in_gameObjectID Associated game object ID
in_uTransitionDuration Fade duration
in_eFadeCurve Curve type to be used for the transition
in_PlayingID Associated PlayingID

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