Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17

◆ 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.

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_eventIDUnique ID of the event
in_ActionTypeAction to execute on all the elements that were played using the specified event.
in_gameObjectIDAssociated game object ID
in_uTransitionDurationFade duration
in_eFadeCurveCurve type to be used for the transition
in_PlayingIDAssociated 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