menu
버전
2016.2.6.6153
2024.1.6.8842
2023.1.14.8770
2025.1.0.8897
2022.1.19.8584
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.6.8842
2023.1.14.8770
2025.1.0.8897
2022.1.19.8584
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
The following code plays back a single dialogue event inside of a dynamic sequence:
#include <AK/SoundEngine/Common/AkDynamicDialogue.h> #include <AK/SoundEngine/Common/AkDynamicSequence.h> (...) { // Open a dynamic sequence using the appropriate game object. AkPlayingID sequenceID = AK::SoundEngine::DynamicSequence::Open( GAME_OBJECT_ID_HUMAN ); // Add a single dialogue event to the playlist of the dynamic sequence. { // Resolve dialogue event into an audio node ID based on the specified argument path. const char * argPath[3] = { // Following the order of Arguments: "Unit_A", // "Units" "RescueHostage", // "Objectives" "Completed" }; // "ObjectiveStatus" AkUniqueID nodeID = AK::SoundEngine::DynamicDialogue::ResolveDialogueEvent( "Objective_Status", argPath, 3 ); // Add audio node ID to dynamic sequence playlist. AK::SoundEngine::DynamicSequence::Playlist * pPlaylist = AK::SoundEngine::DynamicSequence::LockPlaylist( sequenceID ); pPlaylist->Enqueue( nodeID ); AK::SoundEngine::DynamicSequence::UnlockPlaylist( sequenceID ); } // Play the dynamic sequence. AK::SoundEngine::DynamicSequence::Play( sequenceID ); // Close the dynamic sequence. The dynamic sequence will play until finished and then // deallocate itself automatically. AK::SoundEngine::DynamicSequence::Close( sequenceID ); }
Refer to Integration Details - Dynamic Dialogue for more information.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요