◆ PostEvent() [2/2]
Posts an Event to the sound engine (by Event name), using callbacks. The callback function can be used to be noticed when markers are reached or when the event is finished. An array of Wave file sources can be provided to resolve External Sources triggered by the event. P
- The playing ID of the event launched, or AK_INVALID_PLAYING_ID if posting the event failed
- See also
||Name of the event
||Associated game object ID
||Bitmask: see AkCallbackType
||Callback cookie that will be sent to the callback function along with additional information.
||Optional count of external source structures
||Optional array of external source resolution information
||Optional (advanced users only) Specify the playing ID to target with the event. Will Cause active actions in this event to target an existing Playing ID. Let it be AK_INVALID_PLAYING_ID or do not specify any for normal playback.