# Simulate Data Conversation

Grammar — Simulate running conversation conversation
FlagsNative | Action

Changes all appropriate conversation state as if the given conversation had been run.

# Arguments

  • string<gamelink::Conversation> — Conversation

Returns — void

native void ConversationDataSimulateRun(string convId);

Category: Conversation / Data Conversation Tools

# Examples

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

        if ((lib281DEC45_gf_CharacterKnown(lv_indexCharacter) == true)) {
            if ((ConversationDataCanRun(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter), false) == false)) {
                ConversationDataSimulateRun(lib281DEC45_gf_ZSS_CharacterAmbientConversation(lv_indexCharacter));
            }
            else {

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

            }
            else {
                ConversationDataSimulateRun(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter));
            }
        }

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

    }
    else if (auto6147AA0C_val == "ZLab2") {
        ConversationDataSimulateRun("zDebrief_Lab01");
        libSwaC_gf_SetStoryScenePlayed("Zerg02 - Dominion Calling", true);
    }

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

    else if (auto6147AA0C_val == "ZChar2") {
        UserDataSetInt("StoryStates", "Bottom Bar Kerrigan Clicked", "value", 1, 1);
        ConversationDataSimulateRun("zDebrief_Char01");
    }
    else if (auto6147AA0C_val == "ZChar3") {

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

    }
    else if (auto6147AA0C_val == "ZChar3") {
        ConversationDataSimulateRun("zScripted_EvoMissionsUnlock");
        UserDataSetInt("StoryStates", "Evolution Scene Played", "value", 1, 1);
    }

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

    else if (auto6147AA0C_val == "ZExpedition2") {
        UserDataSetInt("StoryStates", "Bottom Bar Kerrigan Clicked", "value", 1, 1);
        ConversationDataSimulateRun("zDebrief_Expedition01");
    }
    else if (auto6147AA0C_val == "ZExpedition3") {

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

    }
    else if (auto6147AA0C_val == "ZExpedition3") {
        ConversationDataSimulateRun("zScripted_EvoMissionsUnlock");
        UserDataSetInt("StoryStates", "Evolution Scene Played", "value", 1, 1);
    }

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

    }
    else if (auto6147AA0C_val == "ZHybrid1") {
        ConversationDataSimulateRun("zScripted_HybridArcBefore");
    }
    else if (auto6147AA0C_val == "ZHybrid3") {

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

    }
    else if (auto6147AA0C_val == "ZHybrid3") {
        ConversationDataSimulateRun("zDebrief_Hybrid02");
    }
    else if (auto6147AA0C_val == "ZKorhal1") {

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

    }
    else if (auto6147AA0C_val == "ZKorhal1") {
        ConversationDataSimulateRun("zScripted_KorhalArcBefore");
    }
    else if (auto6147AA0C_val == "ZKorhal2") {