Other Documentation

Wwise SDK 2022.1.8

◆ ExecuteActionOnEvent() [1/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::ExecuteActionOnEvent ( AkUniqueID  in_eventID,
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.

  • 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
in_eventID Unique ID 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