バージョン

menu_open
Wwise SDK 2018.1.11
クイックスタートサンプル統合 - ダイナミックダイアログ

Dynamic Dialogueダイナミックダイアログ統合例

次のコードにより、ダイナミックシーケンス内で単一のダイアログイベントが再生されます:

(...)
{
// 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.
pPlaylist->Enqueue( nodeID );
}
// Play the dynamic sequence.
// Close the dynamic sequence. The dynamic sequence will play until finished and then
// deallocate itself automatically.
}

詳細は、統合の詳細 - ダイナミックダイアログ をご覧ください。


このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう