# Load Data Conversation Lines And Choices

Grammar — Load the line and choice state of conversation conversation from bank bank section section
FlagsNative | Action

Loads the picked states of all choices and lines for the given conversation from a bank section.

# Arguments

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

Returns — void

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

Category: Conversation / Data Conversation Tools

# Examples

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

    lv_index = 1;
    for ( ; ( (autoCF80CEC2_ai >= 0 && lv_index <= autoCF80CEC2_ae) || (autoCF80CEC2_ai < 0 && lv_index >= autoCF80CEC2_ae) ) ; lv_index += autoCF80CEC2_ai ) {
        ConversationDataLoadNodeState(libCamp_gv_tS_Convos[lv_index], lp_sourceBank, lv__SectionName);
    }
    lv__SectionName = libCamp_gf_TS_BankSectionName("Hotspots");

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

    while (auto4F1F65F6_ai < auto4F1F65F6_ae) {
        lv_indexCharacter = UserDataInstance("Character", auto4F1F65F6_ai);
        ConversationDataLoadNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter), lp_bank, lp_section);
        ConversationDataLoadNodeState(lib281DEC45_gf_ZSS_CharacterAmbientConversation(lv_indexCharacter), lp_bank, lp_section);
        auto4F1F65F6_ai = auto4F1F65F6_ai+1;

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

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

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

    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"));
    lib281DEC45_gf_ZSS_BackupWriterStates();
    lib281DEC45_gf_ZSS_LoadSnapshotWriterStates();

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

    lib281DEC45_gv_zSS_ConvoActive = false;
    if ((ConversationDataWasSkipped() == true)) {
        ConversationDataLoadNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lp_character), lib281DEC45_gf_ZSS_TempConversationBank(), ("StoryConversations"));
    }
    else {

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

        lv_indexCharacter = UserDataInstance("Character", auto3B640459_ai);
        ConversationDataResetNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter));
        ConversationDataLoadNodeState(lib281DEC45_gf_ZSS_CharacterConversation(lv_indexCharacter), BankLastCreated(), "Conversations");
        auto3B640459_ai = auto3B640459_ai+1;
    }

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

    while (auto2104D7CD_ai < auto2104D7CD_ae) {
        lv_indexClickable = UserDataInstance("Clickable", auto2104D7CD_ai);
        ConversationDataLoadNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libVCST_gf_PS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libVCST_gf_PS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);

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

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

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

        ConversationDataLoadNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libVCST_gf_PS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libVCST_gf_PS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);
        auto2104D7CD_ai = auto2104D7CD_ai+1;
    }

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

    ConversationDataSaveNodeState(lp_conversation, libVCST_gf_PS_TempConversationBank(), ("StoryConversations"));
    ConversationDataResetNodeState(lp_conversation);
    ConversationDataLoadNodeState(lp_conversation, libVoiC_gf_StoryBank(), ("ConversationSnapshot"));
    libVCST_gf_PS_BackupSnapshotStates();
    libVCST_gf_PS_LoadSnapshotStates();

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

    // Implementation
    if ((ConversationDataWasSkipped() == true)) {
        ConversationDataLoadNodeState(lp_conversation, libVCST_gf_PS_TempConversationBank(), ("StoryConversations"));
    }

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

        lv_indexClickable = UserDataInstance("Clickable", auto3A2971A6_ai);
        ConversationDataResetNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable));
        ConversationDataLoadNodeState(libVCST_gf_PS_ClickableConversation(lv_indexClickable), BankLastCreated(), "Conversations");
        auto3A2971A6_ai = auto3A2971A6_ai+1;
    }

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

    while (auto2104D7CD_ai < auto2104D7CD_ae) {
        lv_indexClickable = UserDataInstance("Clickable", auto2104D7CD_ai);
        ConversationDataLoadNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libNCST_gf_NS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libNCST_gf_NS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);

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

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

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

        ConversationDataLoadNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libNCST_gf_NS_ClickableAmbientConversation(lv_indexClickable), lp_bank, lp_section);
        ConversationDataLoadNodeState(libNCST_gf_NS_ClickableGreetingConversation(lv_indexClickable), lp_bank, lp_section);
        auto2104D7CD_ai = auto2104D7CD_ai+1;
    }

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

    ConversationDataSaveNodeState(lp_conversation, libNCST_gf_NS_TempConversationBank(), ("StoryConversations"));
    ConversationDataResetNodeState(lp_conversation);
    ConversationDataLoadNodeState(lp_conversation, libComC_gf_CC_StoryBank(), ("ConversationSnapshot"));
    libNCST_gf_NS_BackupSnapshotStates();
    libNCST_gf_NS_LoadSnapshotStates();

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

    // Implementation
    if ((ConversationDataWasSkipped() == true)) {
        ConversationDataLoadNodeState(lp_conversation, libNCST_gf_NS_TempConversationBank(), ("StoryConversations"));
    }

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

        lv_indexClickable = UserDataInstance("Clickable", auto3A2971A6_ai);
        ConversationDataResetNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable));
        ConversationDataLoadNodeState(libNCST_gf_NS_ClickableConversation(lv_indexClickable), BankLastCreated(), "Conversations");
        auto3A2971A6_ai = auto3A2971A6_ai+1;
    }