# Active Data Conversation Line

Grammar — Active data conversation line
FlagsNative | Function

Returns the active line in the running data conversation

Returns — string<convline>

native string ConversationDataActiveLine();

Category: Conversation / Data Conversation Tools

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:618

    if (((lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03Listener))) {
        lib281DEC45_gf_SkipConversationLookAt();
        if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00006") || (ConversationDataActiveLine() == "zSM_CharFortress|Line00016"))) {
            libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "SlowHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:618

    if (((lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03Listener))) {
        lib281DEC45_gf_SkipConversationLookAt();
        if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00006") || (ConversationDataActiveLine() == "zSM_CharFortress|Line00016"))) {
            libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "SlowHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:623

        else {
        }
        if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00005"))) {
            SoundPlay(SoundLink("Cut_Ambience_zSM_CharFortress_Before_Char_03_alt", 0), PlayerGroupAll(), 100.0, 0.0);
            gv_zagaraLavaAmbience = SoundLastPlayed();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2map/MapScript.galaxy:531

    }

    if ((ConversationDataActiveLine() == "zSM_RogueQueen|Line00095")) {
        lib281DEC45_gf_ShowHideUnitAbs(true, lib281DEC45_gf_CharacterUnit("Protoss Prisoner"));
        lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Protoss Prisoner", "Protoss Prisoner");

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:579

    }

    if ((ConversationDataActiveLine() == "zSM_Stukov|Line00075")) {
        TriggerExecute(gt_ConvoStukovApplyDelayedCamera, true, false);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:601

    }

    Wait((libSwaC_gf_ConvesationLineDuration(ConversationDataActiveLine())-0.1), c_timeGame);
    libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantEyesOnly");
    libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly");

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:730

    }

    if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00383")) {
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "ANIM_MOUTH", "HappyEyes", c_animFlagPlayForever, 1.0);
        libNtve_gf_SendActorMessageToUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "AnimSetUserWeight ANIM_MOUTH 0.800000");

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryspace.sc2map/MapScript.galaxy:507

    else {
    }
    if ((ConversationDataActiveLine() == "zSM_RogueQueen|Line00080")) {
        libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryzerus.sc2map/MapScript.galaxy:569

    }

    if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00347")) {
        lib281DEC45_gf_ApplyCutsceneCamera(lib281DEC45_ge_CameraType_CloseUp, "Kerrigan");
        libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly");

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryzerus.sc2map/MapScript.galaxy:588

        libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
    }
    else if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00349")) {
        SoundStop(gv_kerriganPsionicsSound, true);
        libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "SlowHeadOnly");

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2mapMapScript.galaxy:618

    if (((lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03Listener))) {
        lib281DEC45_gf_SkipConversationLookAt();
        if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00006") || (ConversationDataActiveLine() == "zSM_CharFortress|Line00016"))) {
            libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "SlowHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2mapMapScript.galaxy:618

    if (((lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom01Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom02Listener) || (lib281DEC45_gf_CurrentConversationCamera() == lib281DEC45_ge_CameraType_Custom03Listener))) {
        lib281DEC45_gf_SkipConversationLookAt();
        if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00006") || (ConversationDataActiveLine() == "zSM_CharFortress|Line00016"))) {
            libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "SlowHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2mapMapScript.galaxy:623

        else {
        }
        if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00005"))) {
            SoundPlay(SoundLink("Cut_Ambience_zSM_CharFortress_Before_Char_03_alt", 0), PlayerGroupAll(), 100.0, 0.0);
            gv_zagaraLavaAmbience = SoundLastPlayed();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2mapMapScript.galaxy:531

    }

    if ((ConversationDataActiveLine() == "zSM_RogueQueen|Line00095")) {
        lib281DEC45_gf_ShowHideUnitAbs(true, lib281DEC45_gf_CharacterUnit("Protoss Prisoner"));
        lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Protoss Prisoner", "Protoss Prisoner");

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2mapMapScript.galaxy:579

    }

    if ((ConversationDataActiveLine() == "zSM_Stukov|Line00075")) {
        TriggerExecute(gt_ConvoStukovApplyDelayedCamera, true, false);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2mapMapScript.galaxy:601

    }

    Wait((libSwaC_gf_ConvesationLineDuration(ConversationDataActiveLine())-0.1), c_timeGame);
    libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantEyesOnly");
    libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly");

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2mapMapScript.galaxy:730

    }

    if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00383")) {
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "ANIM_MOUTH", "HappyEyes", c_animFlagPlayForever, 1.0);
        libNtve_gf_SendActorMessageToUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "AnimSetUserWeight ANIM_MOUTH 0.800000");

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryspace.sc2mapMapScript.galaxy:507

    else {
    }
    if ((ConversationDataActiveLine() == "zSM_RogueQueen|Line00080")) {
        libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryzerus.sc2mapMapScript.galaxy:569

    }

    if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00347")) {
        lib281DEC45_gf_ApplyCutsceneCamera(lib281DEC45_ge_CameraType_CloseUp, "Kerrigan");
        libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly");

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryzerus.sc2mapMapScript.galaxy:588

        libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
    }
    else if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00349")) {
        SoundStop(gv_kerriganPsionicsSound, true);
        libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "SlowHeadOnly");

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

        lib281DEC45_gf_ShowHideStoryUnits(true);
        TriggerStop(lib281DEC45_gt_ZSS_DebugHideAfterLine);
        lib281DEC45_gv_zSS_DebugConvCurrentLine = ConversationDataActiveLine();
        TriggerExecute(lib281DEC45_gt_ZSS_DebugHideAfterLine, true, false);
    }

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

    }

    while (!((lib281DEC45_gv_zSS_DebugConvCurrentLine != ConversationDataActiveLine()))) {
        Wait(0.1, c_timeGame);
    }

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

    }

    if ((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00067")) {
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), lib281DEC45_gv_zSS_CONVANIMID, "Spell Alternate End", 0, 0.0);
    }

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

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), lib281DEC45_gv_zSS_CONVANIMID, "Spell Alternate End", 0, 0.0);
    }
    else if ((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00070")) {
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), lib281DEC45_gv_zSS_CONVANIMID, "Eye Glow", c_animFlagPlayForever, c_animTimeDefault);
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), c_animNameDefault, "Stand Angry", 0, c_animTimeDefault);

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

        SoundPlay(SoundLink("Cut_Conversation_Kerrigan_Psi_Abathur_01", 0), PlayerGroupAll(), 80.0, 0.0);
    }
    else if ((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00110")) {
        libNtve_gf_SimpleLookAtStart(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", ActorFrom(lib281DEC45_gv_zSS_LookAtHeadActorRef));
        libNtve_gf_SimpleLookAtStart(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantEyesOnly", ActorFrom(lib281DEC45_gv_zSS_LookAtEyeActorRef));

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

        lib281DEC45_gf_SkipConversationLookAt();
    }
    else if (((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00199") || (ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00203"))) {
        lib281DEC45_gf_ApplyCutsceneCamera(lib281DEC45_ge_CameraType_Medium, "Kerrigan");
        libNtve_gf_SendActorMessageToUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "AnimPlay Default Stand,Turn,Cover,End 0 0.000000 -1.000000 -1.000000 AsAutomatic 0.000000 1000");

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

        lib281DEC45_gf_SkipConversationLookAt();
    }
    else if (((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00199") || (ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00203"))) {
        lib281DEC45_gf_ApplyCutsceneCamera(lib281DEC45_ge_CameraType_Medium, "Kerrigan");
        libNtve_gf_SendActorMessageToUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "AnimPlay Default Stand,Turn,Cover,End 0 0.000000 -1.000000 -1.000000 AsAutomatic 0.000000 1000");

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

        SoundWait(SoundLastPlayed(), 0.3, c_soundOffsetEnd);
    }
    else if ((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00200")) {
        lib281DEC45_gf_ClearAnimationwithblendtime(c_animNameDefault, lib281DEC45_gf_CharacterUnit("Kerrigan"), 0.0);
        SoundStop(lib281DEC45_gv_zSS_EggRoomConvoSound, true);

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

        SoundStop(lib281DEC45_gv_zSS_EggRoomConvoSound, true);
    }
    else if ((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00262")) {
        ActorLookAtStop(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "Head", 100, 0.7);
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), lib281DEC45_gv_zSS_CONVANIMID, "Stand Turn Cover Start", c_animFlagPlayForever, c_animTimeDefault);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:385

    ConversationDataRun(UserDataGetGameLink("Clickable", lp_speaker, "GreetingConversation", 1), PlayerGroupAll(), c_conversationSkipSimple, false);
    gv_roomGreetingActiveSpeaker = lp_speaker;
    gv_roomGreetingActiveLine = ConversationDataActiveLine();
    TriggerEnable(gt_GreetingEnds, true);
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1680

    // Conditions
    if (testConds) {
        if (!((ConversationDataActiveLine() != gv_roomGreetingActiveLine))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:385

    ConversationDataRun(UserDataGetGameLink("Clickable", lp_speaker, "GreetingConversation", 1), PlayerGroupAll(), c_conversationSkipSimple, false);
    gv_roomGreetingActiveSpeaker = lp_speaker;
    gv_roomGreetingActiveLine = ConversationDataActiveLine();
    TriggerEnable(gt_GreetingEnds, true);
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:1680

    // Conditions
    if (testConds) {
        if (!((ConversationDataActiveLine() != gv_roomGreetingActiveLine))) {
            return false;
        }

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

    }

    libVCST_gf_PS_ConversationCameraApply(libVCST_gf_PS_ClickableFromCharacter(ConversationDataGetSpeaker(ConversationDataActiveLine())), ConversationDataActiveCamera());
    return true;
}

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

    }

    libNCST_gf_NS_ConversationCameraApply(libNCST_gf_NS_ClickableFromCharacter(ConversationDataGetSpeaker(ConversationDataActiveLine())), ConversationDataActiveCamera());
    return true;
}