# Save Data Conversation Lines And Choices

Grammar — Save the line and choice state of conversation conversation to bank bank within the section section
FlagsNative | Action

Saves the picked states of all choices and lines within the given conversation to a bank section.

# Arguments

  • string<gamelink::Conversation> — Conversation
  • bank — Bank
  • string — Section

Returns — void

native void ConversationDataSaveNodeState(
	string convId,
	bank b,
	string section,
);

Category: Conversation / Data Conversation Tools

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:9360

        lv_index = 1;
        for ( ; ( (autoDB4CFAF2_ai >= 0 && lv_index <= autoDB4CFAF2_ae) || (autoDB4CFAF2_ai < 0 && lv_index >= autoDB4CFAF2_ae) ) ; lv_index += autoDB4CFAF2_ai ) {
            ConversationDataSaveNodeState(libCamp_gv_tS_Convos[lv_index], lp_targetBank, lv__SectionName);
        }
        lv__SectionName = libCamp_gf_TS_BankSectionName("Hotspots");

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

    while (auto3171AB38_ai < auto3171AB38_ae) {
        lv_indexCharacter = UserDataInstance("Character", auto3171AB38_ai);
        ConversationDataSaveNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter), lp_bank, lp_section);
        ConversationDataSaveNodeState(lib281DEC45_gf_ZSS_CharacterAmbientConversation(lv_indexCharacter), lp_bank, lp_section);
        auto3171AB38_ai = auto3171AB38_ai+1;

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

        lv_indexCharacter = UserDataInstance("Character", auto3171AB38_ai);
        ConversationDataSaveNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter), lp_bank, lp_section);
        ConversationDataSaveNodeState(lib281DEC45_gf_ZSS_CharacterAmbientConversation(lv_indexCharacter), lp_bank, lp_section);
        auto3171AB38_ai = auto3171AB38_ai+1;
    }

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

    ConversationDataPreloadLines(lib281DEC45_gf_ZSS_CharacterConversation(lp_character));
    SoundLengthQueryWait();
    ConversationDataSaveNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lp_character), lib281DEC45_gf_ZSS_TempConversationBank(), ("StoryConversations"));
    ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lp_character));
    ConversationDataLoadNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lp_character), libSwaC_gf_StoryBank(), ("ConversationSnapshot"));

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

    while (auto9E31730B_ai < auto9E31730B_ae) {
        lv_indexCharacter = UserDataInstance("Character", auto9E31730B_ai);
        ConversationDataSaveNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter), BankLastCreated(), "Conversations");
        auto9E31730B_ai = auto9E31730B_ai+1;
    }

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

    while (auto67314A6A_ai < auto67314A6A_ae) {
        lv_indexClickable = UserDataInstance("Clickable", auto67314A6A_ai);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);

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

        lv_indexClickable = UserDataInstance("Clickable", auto67314A6A_ai);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);
        auto67314A6A_ai = auto67314A6A_ai+1;

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

        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);
        auto67314A6A_ai = auto67314A6A_ai+1;
    }

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

    // Automatic Variable Declarations
    // Implementation
    ConversationDataSaveNodeState(lp_conversation, libVCST_gf_PS_TempConversationBank(), ("StoryConversations"));
    ConversationDataResetNodeState(lp_conversation);
    ConversationDataLoadNodeState(lp_conversation, libVoiC_gf_StoryBank(), ("ConversationSnapshot"));

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

    while (auto79D6B584_ai < auto79D6B584_ae) {
        lv_indexClickable = UserDataInstance("Clickable", auto79D6B584_ai);
        ConversationDataSaveNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable), BankLastCreated(), "Conversations");
        auto79D6B584_ai = auto79D6B584_ai+1;
    }

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

    while (auto67314A6A_ai < auto67314A6A_ae) {
        lv_indexClickable = UserDataInstance("Clickable", auto67314A6A_ai);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);

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

        lv_indexClickable = UserDataInstance("Clickable", auto67314A6A_ai);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);
        auto67314A6A_ai = auto67314A6A_ai+1;

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

        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);
        auto67314A6A_ai = auto67314A6A_ai+1;
    }

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

void libNCST_gf_NS_ConversationSnapshotStart (string lp_conversation) {
    // Implementation
    ConversationDataSaveNodeState(lp_conversation, libNCST_gf_NS_TempConversationBank(), ("StoryConversations"));
    ConversationDataResetNodeState(lp_conversation);
    ConversationDataLoadNodeState(lp_conversation, libComC_gf_CC_StoryBank(), ("ConversationSnapshot"));

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

    while (auto79D6B584_ai < auto79D6B584_ae) {
        lv_indexClickable = UserDataInstance("Clickable", auto79D6B584_ai);
        ConversationDataSaveNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable), BankLastCreated(), "Conversations");
        auto79D6B584_ai = auto79D6B584_ai+1;
    }