# Reset Data Conversation State Values

Grammar — Reset the state values of conversation state
FlagsNative | Action

Resets all state values of the given conversation state back to zero.

# Arguments

  • string<gamelink::ConversationState> — State

Returns — void

native void ConversationDataResetStateValues(
	string stateId,
);

Category: Conversation / Data Conversation Tools

# Examples

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

        }
        libCamp_gv_tSX_MissionObjRewardsEarnedCurrent = 0;
        ConversationDataResetStateValues("MissionObjective");
        auto5C6F3E82_i = libCamp_gv_TSC_SCENE_FIRST;
        while (auto5C6F3E82_i <= libCamp_gv_TSC_SCENE_LAST) {

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

            ConversationDataResetNodeState(libCamp_gv_tS_Convos[lv_index]);
        }
        ConversationDataResetStateValues("ABChoice");
        ConversationDataResetStateValues("ABChoiceRewards");
        ConversationDataResetStateValues("ArcadeGameVariables");

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

        }
        ConversationDataResetStateValues("ABChoice");
        ConversationDataResetStateValues("ABChoiceRewards");
        ConversationDataResetStateValues("ArcadeGameVariables");
        ConversationDataResetStateValues("CharacterLocationStatus");

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

        ConversationDataResetStateValues("ABChoice");
        ConversationDataResetStateValues("ABChoiceRewards");
        ConversationDataResetStateValues("ArcadeGameVariables");
        ConversationDataResetStateValues("CharacterLocationStatus");
        ConversationDataResetStateValues("Characters");

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

        ConversationDataResetStateValues("ABChoiceRewards");
        ConversationDataResetStateValues("ArcadeGameVariables");
        ConversationDataResetStateValues("CharacterLocationStatus");
        ConversationDataResetStateValues("Characters");
        ConversationDataResetStateValues("Credits");

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

        ConversationDataResetStateValues("ArcadeGameVariables");
        ConversationDataResetStateValues("CharacterLocationStatus");
        ConversationDataResetStateValues("Characters");
        ConversationDataResetStateValues("Credits");
        ConversationDataResetStateValues("DebriefRoomChange");

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

        ConversationDataResetStateValues("CharacterLocationStatus");
        ConversationDataResetStateValues("Characters");
        ConversationDataResetStateValues("Credits");
        ConversationDataResetStateValues("DebriefRoomChange");
        ConversationDataResetStateValues("Hotspots");

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

        ConversationDataResetStateValues("Characters");
        ConversationDataResetStateValues("Credits");
        ConversationDataResetStateValues("DebriefRoomChange");
        ConversationDataResetStateValues("Hotspots");
        ConversationDataResetStateValues("LabResearch");

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

        ConversationDataResetStateValues("Credits");
        ConversationDataResetStateValues("DebriefRoomChange");
        ConversationDataResetStateValues("Hotspots");
        ConversationDataResetStateValues("LabResearch");
        ConversationDataResetStateValues("LabResearchCompleted");

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

        ConversationDataResetStateValues("DebriefRoomChange");
        ConversationDataResetStateValues("Hotspots");
        ConversationDataResetStateValues("LabResearch");
        ConversationDataResetStateValues("LabResearchCompleted");
        ConversationDataResetStateValues("LabResearchObject");