# Active Data Conversation Sound

Grammar — Active data conversation sound
FlagsNative | Function

Returns the sound associated with the active line in the running data conversation

Returns — string<gamelink::Sound>

native string ConversationDataActiveSound();

Category: Conversation / Data Conversation Tools

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23394

    gv_convoCameraChangeResult = false;
    TriggerExecute(gt_CharArtifactClickedCameraChangeNoChange, true, false);
    auto03995A5B_val = ConversationDataActiveSound();
    if (auto03995A5B_val == "CharFidgetsArtifactTychus00001") {
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23432


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    auto913B3238_val = ConversationDataActiveSound();
    if (auto913B3238_val == "CharFidgetsArtifactTychus00001") {
        Wait((SoundLengthSync(SoundLink("CharFidgetsArtifactTychus00001", -1)) / 2.0), c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23652

    TriggerStop(gt_LabArtifactClickedCameraChangeNoWait);
    TriggerExecute(gt_LabArtifactClickedCameraChangeNoWait, true, false);
    autoC9863F53_val = ConversationDataActiveSound();
    {
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:23676

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TriggerExecute(gt_LabArtifactClickedPositionCharacters, true, false);
    autoFD9F2057_val = ConversationDataActiveSound();
    if (autoFD9F2057_val == "LabFidgetsArtifactRaynor00017") {
        Wait((SoundLengthSync(SoundLink("LabFidgetsArtifactRaynor00017", -1)) / 2.0), c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26454


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    autoF4007082_val = ConversationDataActiveSound();
    if (autoF4007082_val == "ValerianValerian00001") {
        CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26467

        libNtve_gf_SetAnimationTimeScale(libNtve_gf_MainActorofUnit(gf_ActorUnit(ge_ActorID_ActorRaynor)), c_animNameDefault, 2.5);
        Wait(0.6384, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26473

        SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
        Wait(0.7, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26489

        Wait(1.0, c_timeGame);
        CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26494


        Wait(0.6, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26500

        SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
        Wait(0.4, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:23394

    gv_convoCameraChangeResult = false;
    TriggerExecute(gt_CharArtifactClickedCameraChangeNoChange, true, false);
    auto03995A5B_val = ConversationDataActiveSound();
    if (auto03995A5B_val == "CharFidgetsArtifactTychus00001") {
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:23432


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    auto913B3238_val = ConversationDataActiveSound();
    if (auto913B3238_val == "CharFidgetsArtifactTychus00001") {
        Wait((SoundLengthSync(SoundLink("CharFidgetsArtifactTychus00001", -1)) / 2.0), c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:23652

    TriggerStop(gt_LabArtifactClickedCameraChangeNoWait);
    TriggerExecute(gt_LabArtifactClickedCameraChangeNoWait, true, false);
    autoC9863F53_val = ConversationDataActiveSound();
    {
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:23676

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TriggerExecute(gt_LabArtifactClickedPositionCharacters, true, false);
    autoFD9F2057_val = ConversationDataActiveSound();
    if (autoFD9F2057_val == "LabFidgetsArtifactRaynor00017") {
        Wait((SoundLengthSync(SoundLink("LabFidgetsArtifactRaynor00017", -1)) / 2.0), c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:26454


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    autoF4007082_val = ConversationDataActiveSound();
    if (autoF4007082_val == "ValerianValerian00001") {
        CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:26467

        libNtve_gf_SetAnimationTimeScale(libNtve_gf_MainActorofUnit(gf_ActorUnit(ge_ActorID_ActorRaynor)), c_animNameDefault, 2.5);
        Wait(0.6384, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:26473

        SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
        Wait(0.7, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:26489

        Wait(1.0, c_timeGame);
        CameraApplyInfo(1, CameraInfoFromId(896), 0.0, -1, 10, true);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:26494


        Wait(0.6, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:26500

        SoundPlay(SoundLink("Mule_What", 1), PlayerGroupAll(), 100.0, 0.0);
        Wait(0.4, c_timeReal);
        if ((ConversationDataActiveSound() != "ValerianValerian00006")) {
            return true;
        }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:20464

            if ((libSwaC_gv_zS_ArmyCustomCategoryCurrent == "Zergling") && (libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount != -1)) {
                libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount += 1;
                if ((libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount >= 7) && (ConversationDataActiveSound() == null)) {
                    libSwaC_gv_zS_ArmyCustomUpgradeSpamClickCount = -1;
                    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(null), c_invalidPortraitId, SoundLink(ConversationDataGetSound("zSMAmbient_EvolutionMaster|Line00068", false), c_soundIndexAny), 0.0, c_transmissionDurationAdd, false);

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:4271

    else {
    }
    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:4272

    }
    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:4272

    }
    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:4276

    }
    else {
        lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    }
    CutscenePlayCutsceneRangeOverTime(lib281DEC45_gv_zSS_ConversationScene, lib281DEC45_gf_ZSS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), lib281DEC45_gf_ZSS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3476

    }

    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3477


    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3477


    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3481

    }
    else {
        lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    }
    CutscenePlayCutsceneRangeOverTime(libVCST_gv_pS_ConversationScene, libVCST_gf_PS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), libVCST_gf_PS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5925

        if ((lv_numberOfTalkingClickables > 0)) {
            lv_randomClickable = RandomInt(1, lv_numberOfTalkingClickables);
            if ((ConversationDataActiveSound() == "") && (libVCMI_gf_PlayerInCinematicModeCampaign() == false)) {
                libVCST_gf_PS_AmbientConversationStart();
                ConversationDataRun(UserDataGetGameLink("Clickable", lv_listOfTalkingClickables[lv_randomClickable], "Ambient Conversation", 1), PlayerGroupAll(), c_conversationSkipSimple, true);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:5995

    }

    if ((ConversationDataActiveSound() == "") && (libVCMI_gf_PlayerInCinematicModeCampaign() == false) && (libVCST_gv_pS_AmbientConversationRunning == false)) {
        libVCST_gf_TurnFidgetStatusForClickableOnOff("Smith", false);
        libVCST_gv_pS_KaraxPickupEventRunning = true;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:6002

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(libVCST_gf_ClickableUnit("Smith")), c_animNameDefault, "Pickup", c_animFlagNonLooping, 0.75);
        Wait(17.0, c_timeGame);
        if ((ConversationDataActiveSound() == "")) {
            ConversationDataRun("pAmbientDrone_Smith", PlayerGroupAll(), c_conversationSkipSimple, false);
        }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:2978

    }

    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:2979


    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:2979


    SoundLengthQuery(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    if (((ConversationDataActiveSound() == null) || (SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny)) == 0.0))) {
        lv_lineDuration = 10.0;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:2983

    }
    else {
        lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    }
    CutscenePlayCutsceneRangeOverTime(libNCST_gv_nS_ConversationScene, libNCST_gf_NS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), libNCST_gf_NS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:4927

        if ((lv_numberOfTalkingClickables > 0)) {
            lv_randomClickable = RandomInt(1, lv_numberOfTalkingClickables);
            if ((ConversationDataActiveSound() == "") && (libNCMI_gf_PlayerInCinematicModeCampaign() == false)) {
                libNCST_gf_NS_AmbientConversationStart();
                ConversationDataRun(UserDataGetGameLink("Clickable", lv_listOfTalkingClickables[lv_randomClickable], "Ambient Conversation", 1), PlayerGroupAll(), c_conversationSkipSimple, true);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:5816

        }

        if (!((ConversationDataActiveSound() == null))) {
            return false;
        }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:6140

        }

        if (!((ConversationDataActiveSound() == null))) {
            return false;
        }