# User Data (Integer)

Grammar — User Data (userType, instance, field, index)
FlagsNative | Function

Returns a value from user data for the given type, instance, and field. User data is defined in the Data module.

# Arguments

  • string<gamelink::User> — User Type
  • string<userinstance> — Instance
  • string<userfield> — Field
  • int — Index

Returns — int

native int UserDataGetInt(
	string inType,
	string inInstance,
	string inField,
	int inIndex,
);

Category: User Data / Get Value

# Examples

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

    lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
    lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Zerg Adjutant"));
    if ((libSwaC_gf_MissionStatusCheck("ZChar3", libSwaC_ge_MissionStatus_Completed) == true) && (UserDataGetInt("WriterStates", "ZagaraTalkTimes", "Value", 1) >= 1)) {
        SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zSM_RogueQueen_03", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    }

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

    }

    if ((UserDataGetInt("WriterStates", "ZagaraTalkTimes", "Value", 1) == 1) && (lib281DEC45_gf_CharacterIsEnabled("Zagara") == false)) {
        lib281DEC45_gf_SetCharacterNew("Evolution Master", true);
    }

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

    TimerStart(gv_cutsceneLoadingTimer, 1.0, false, c_timeGame);
    Wait(0.0625, c_timeGame);
    if ((UserDataGetInt("WriterStates", "ToshChoice", "Value", 1) == 2)) {
        CutsceneSetGlobalFilter("Nova");
    }

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

    lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
    lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Zerg Adjutant"));
    if ((libSwaC_gf_MissionStatusCheck("ZChar3", libSwaC_ge_MissionStatus_Completed) == true) && (UserDataGetInt("WriterStates", "ZagaraTalkTimes", "Value", 1) >= 1)) {
        SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zSM_RogueQueen_03", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    }

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

    }

    if ((UserDataGetInt("WriterStates", "ZagaraTalkTimes", "Value", 1) == 1) && (lib281DEC45_gf_CharacterIsEnabled("Zagara") == false)) {
        lib281DEC45_gf_SetCharacterNew("Evolution Master", true);
    }

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

    TimerStart(gv_cutsceneLoadingTimer, 1.0, false, c_timeGame);
    Wait(0.0625, c_timeGame);
    if ((UserDataGetInt("WriterStates", "ToshChoice", "Value", 1) == 2)) {
        CutsceneSetGlobalFilter("Nova");
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1725

    // Automatic Variable Declarations
    // Implementation
    if ((UserDataGetInt("StoryStates", "(Mission)ResourcePickedTipPlayed", "value", 1) == 0) && ((libSwaC_gf_CurrentMap() == "ZLab3") || (libSwaC_gf_CurrentMap() == "ZChar1") || (libSwaC_gf_CurrentMap() == "ZChar2") || (libSwaC_gf_CurrentMap() == "ZChar3") || (libSwaC_gf_CurrentMap() == "ZExpedition1") || (libSwaC_gf_CurrentMap() == "ZExpedition2") || (libSwaC_gf_CurrentMap() == "ZZerus1") || (libSwaC_gf_CurrentMap() == "ZHybrid1") || (libSwaC_gf_CurrentMap() == "ZHybrid2") || (libSwaC_gf_CurrentMap() == "ZHybrid3") || (libSwaC_gf_CurrentMap() == "ZKorhal2"))) {
        return true;
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:2104


    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) <= 0)) {
        return true;
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:2110

    libSwaC_gv_zS_MissionTipCount += 1;
    libSwaC_gv_zS_MissionTip[libSwaC_gv_zS_MissionTipCount] = lp_tipData;
    lv_createdCountDown = UserDataGetInt("CampaignTips", lp_tipData, "Created", 1);
    UserDataSetInt("CampaignTips", lp_tipData, "Created", 1, (lv_createdCountDown - 1));
    libSwaC_gf_ZS_RefreshTip();

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3545

    // Automatic Variable Declarations
    // Implementation
    return UserDataGetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "Index", 1);
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3683

    // Automatic Variable Declarations
    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) == 1)) {
        return ;
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4852

    auto0FCBD4E2_val = lp_status;
    if (auto0FCBD4E2_val == libSwaC_ge_MissionStatus_Available) {
        return UserDataGetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "AvailableAge", 1);
    }
    else if (auto0FCBD4E2_val == libSwaC_ge_MissionStatus_Completed) {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4855

    }
    else if (auto0FCBD4E2_val == libSwaC_ge_MissionStatus_Completed) {
        return UserDataGetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "CompletedAge", 1);
    }
    else {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:5067

    // Automatic Variable Declarations
    // Implementation
    return UserDataGetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "BestTime", libSwaC_gf_ZS_DifficultyIndex(lp_difficulty));
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:5235

    // Implementation
    if ((lp_debugProgress == false)) {
        return UserDataGetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "KerriganXP", 1);
    }
    else {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:5243

        while (auto9B46347D_ai <= auto9B46347D_ae) {
            lv_indexObjective = CatalogFieldValueGet(c_gameCatalogMap, lp_mission, "ObjectiveArray["+IntToString(auto9B46347D_ai-1)+"]", 1);
            lv_xPReward += (libSwaC_gf_MissionObjectiveRewards(lv_indexObjective, "KerriganXP")*UserDataGetInt("MissionObjective", libSwaC_gf_ZS_ObjectiveUserDataInstance(lv_indexObjective), "CheatProgress", 1));
            auto9B46347D_ai = auto9B46347D_ai + 1;
        }

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

    else {
    }
    if ((libSwaC_gf_MissionStatusCheck("ZZerus2", libSwaC_ge_MissionStatus_Completed) == true) && (UserDataGetInt("WriterStates", "KerriganPrimalColumn", "Value", 1) != 2)) {
        UserDataSetInt("WriterStates", "KerriganPrimalColumn", "Value", 1, 1);
    }

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

    else {
    }
    if ((libSwaC_gf_StoryKerriganHasNewAbilities() == true) && (UserDataGetInt("WriterStates", "KerriganFirstTier", "Value", 1) != 2)) {
        UserDataSetInt("WriterStates", "KerriganFirstTier", "Value", 1, 1);
    }

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

        lv_character = UserDataInstance("Character", auto7E4635CA_ai);
        lv__SectionName = "CharacterUnlocked";
        BankValueSetFromInt(libSwaC_gf_StoryBank(), lv__SectionName, (lv_character), UserDataGetInt("Character", lv_character, "Unlocked", 1));
        lv__SectionName = "CharacterAmbient";
        BankValueSetFromInt(libSwaC_gf_StoryBank(), lv__SectionName, (lv_character), UserDataGetInt("Character", lv_character, "Ambient", 1));

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

        BankValueSetFromInt(libSwaC_gf_StoryBank(), lv__SectionName, (lv_character), UserDataGetInt("Character", lv_character, "Unlocked", 1));
        lv__SectionName = "CharacterAmbient";
        BankValueSetFromInt(libSwaC_gf_StoryBank(), lv__SectionName, (lv_character), UserDataGetInt("Character", lv_character, "Ambient", 1));
        lv__SectionName = "CharacterNew";
        BankValueSetFromInt(libSwaC_gf_StoryBank(), lv__SectionName, (lv_character), BoolToInt(lib281DEC45_gf_CharacterHasNewInfo(lv_character)));

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

    for ( ; ( (autoA64B39DA_ai >= 0 && lv_index <= autoA64B39DA_ae) || (autoA64B39DA_ai <= 0 && lv_index >= autoA64B39DA_ae) ) ; lv_index += autoA64B39DA_ai ) {
        lv_indexState = UserDataInstance("WriterStates", lv_index);
        if ((UserDataGetInt("WriterStates", lv_indexState, "Value", 1) == BankValueGetAsInt(libSwaC_gf_StoryBank(), ("WriterStateSnapshot"), (lv_indexState)))) {
            UserDataLoadInstance("WriterStates", lv_indexState, lib281DEC45_gf_ZSS_TempConversationBank(), ("WriterStates"));
        }

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

        }
    }
    if ((UserDataGetInt("StoryStates", "Kerrigan UI Visited", "value", 1) == 1)) {
        UserDataSetInt("WriterStates", "KerriganFirstVisit", "Value", 1, 2);
    }

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

int lib281DEC45_gf_ZSS_UITravelPlanetSortIndex (string lp_location) {
    // Implementation
    return UserDataGetInt("Planets", UserDataInstanceFromReference(CatalogFieldValueGet(c_gameCatalogLocation, lp_location, "UserReference", 1)), "SortIndex", 1);
}

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

    // Implementation
    if ((lp_debugProgress == false)) {
        return UserDataGetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "KerriganXP", 1);
    }
    else {

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

    }
    else {
        return UserDataGetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "KerriganXPProgress", 1);
    }
}

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

    }
    else if (auto34BFA6EB_val == lib281DEC45_ge_ZSS_UIMainBottomButtonType_BottomButtonMission) {
        if ((libSwaC_gf_NumberOfMissions(libSwaC_ge_MissionCountOptions_Completed) == 3) && (UserDataGetInt("StoryStates", lib281DEC45_gf_ZSS_UIMainBottomButtonClickedState(lib281DEC45_ge_ZSS_UIMainBottomButtonType_BottomButtonEvolution), "value", 1) == 1)) {
            return true;
        }

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

void gf_UpdatePossessedRohanaState () {
    // Implementation
    if ((UserDataGetInt("WriterStates", "TalkedToPossessedRohana", "Value", 1) == 0)) {
        libVCST_gf_ClickableSetNew("AmonPreserver", true);
    }

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

        gv_uNITWarCouncilSet02Possessed = UnitLastCreated();
        libVCST_gf_AddRemoveUnitForRoom(true, gv_uNITWarCouncilSet02Possessed, libVCST_ge_Rooms_StoryRoomWarCouncil);
        if ((UserDataGetInt("WriterStates", "TalkedToPossessedRohana", "Value", 1) == 1)) {
            libVCST_gf_ShowHideUnitAbs(true, gv_uNITWarCouncilSet02Possessed);
        }

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

        if ((libVoiC_gf_MissionStatusCheck("PUlnar03", libVoiC_ge_MissionStatus_Available) == true)) {
            libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("AmonPreserver"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"));
            if ((UserDataGetInt("Clickable", "AmonPreserver", "New", 1) == 1)) {
                libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("AmonPreserver"), libNtve_gf_PointWithZOffset(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"), (PointGetHeight(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster")) + 0.03)));
                UnitSetFacing(libVCST_gf_ClickableUnit("AmonPreserver"), PointGetFacing(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster")), 0.0);

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

    }

    TextExpressionSetToken("Param/Expression/AE9FE1F9", "A", IntToText(UserDataGetInt("StoryStates", "Army Room Visited", "Value", 1)));
    TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/AE9FE1F9"), true);
    return true;

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

void gf_UpdatePossessedRohanaState () {
    // Implementation
    if ((UserDataGetInt("WriterStates", "TalkedToPossessedRohana", "Value", 1) == 0)) {
        libVCST_gf_ClickableSetNew("AmonPreserver", true);
    }

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

        gv_uNITWarCouncilSet02Possessed = UnitLastCreated();
        libVCST_gf_AddRemoveUnitForRoom(true, gv_uNITWarCouncilSet02Possessed, libVCST_ge_Rooms_StoryRoomWarCouncil);
        if ((UserDataGetInt("WriterStates", "TalkedToPossessedRohana", "Value", 1) == 1)) {
            libVCST_gf_ShowHideUnitAbs(true, gv_uNITWarCouncilSet02Possessed);
        }

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

        if ((libVoiC_gf_MissionStatusCheck("PUlnar03", libVoiC_ge_MissionStatus_Available) == true)) {
            libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("AmonPreserver"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"));
            if ((UserDataGetInt("Clickable", "AmonPreserver", "New", 1) == 1)) {
                libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("AmonPreserver"), libNtve_gf_PointWithZOffset(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"), (PointGetHeight(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster")) + 0.03)));
                UnitSetFacing(libVCST_gf_ClickableUnit("AmonPreserver"), PointGetFacing(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster")), 0.0);

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

    }

    TextExpressionSetToken("Param/Expression/AE9FE1F9", "A", IntToText(UserDataGetInt("StoryStates", "Army Room Visited", "Value", 1)));
    TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/AE9FE1F9"), true);
    return true;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2041

    // Automatic Variable Declarations
    // Implementation
    return (UserDataGetInt("Locations", libVoiC_gf_PC_LocationUserData(lp_planet), "Available", 1) == 1);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2374

    // Implementation
    lv_userInstance = libVoiC_gf_PC_MapUserDataInstance(lp_map);
    lv_rewardAmount = UserDataGetInt("Maps", lv_userInstance, "RewardShip", 1);
    lv_rewardAmount += libVoiC_gf_PC_SoAShipRewardSpecialEarned(lp_map);
    return lv_rewardAmount;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2390

    lv_userInstance = libVoiC_gf_PC_MapUserDataInstance(lp_mission);
    if ((((libVoiC_gf_MissionStatus("PShakuras01") != libVoiC_ge_MissionStatus_Completed) && (lp_mission == "PKorhal01")) || ((libVoiC_gf_MissionStatus("PKorhal01") != libVoiC_ge_MissionStatus_Completed) && (lp_mission == "PShakuras01")) || ((libVoiC_gf_MissionStatus("PShakuras01") == libVoiC_ge_MissionStatus_Completed) && (libVoiC_gf_MissionStatus("PKorhal01") == libVoiC_ge_MissionStatus_Completed) && (lp_mission == "PKorhal01") && (libVoiC_gf_CurrentMap() != "PKorhal01")))) {
        lv_extraPower += UserDataGetInt("Maps", lv_userInstance, "RewardShipSpecial", 1);
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2399

    // Automatic Variable Declarations
    // Implementation
    return (UserDataGetInt("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "RewardsUnitDynamic", 1) == 1);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2460

    // Implementation
    lv_userInstance = libVoiC_gf_PC_MapUserDataInstance(lp_map);
    return UserDataGetInt("Maps", lv_userInstance, "RewardShipSlot", 1);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2525

    autoF9E6C65E_val = lp_status;
    if (autoF9E6C65E_val == libVoiC_ge_MissionStatus_Available) {
        return UserDataGetInt("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "AvailableAge", 1);
    }
    else if (autoF9E6C65E_val == libVoiC_ge_MissionStatus_Completed) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2528

    }
    else if (autoF9E6C65E_val == libVoiC_ge_MissionStatus_Completed) {
        return UserDataGetInt("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "CompletedAge", 1);
    }
    else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2816

    // Automatic Variable Declarations
    // Implementation
    return UserDataGetInt("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "BestTime", libVoiC_gf_PC_DifficultyIndex(lp_difficulty));
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2877


    // Implementation
    return UserDataGetInt("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), lv_field, 1);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2998

    lv_slotIndex = libVCUI_gv_pUC_ArmyFactionCount;
    for ( ; ( (autoB07D4439_ai >= 0 && lv_slotIndex <= autoB07D4439_ae) || (autoB07D4439_ai < 0 && lv_slotIndex >= autoB07D4439_ae) ) ; lv_slotIndex += autoB07D4439_ai ) {
        if ((UserDataGetInt("Maps", lp_mission, "RewardArmySlot", lv_slotIndex) >= 1)) {
            return UserDataInstance("ArmyUpgradeCategories", lv_slotIndex);
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2660


    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) >= UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1)) && (UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1) != 0)) {
        return ;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2660


    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) >= UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1)) && (UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1) != 0)) {
        return ;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2660


    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) >= UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1)) && (UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1) != 0)) {
        return ;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2666

    libVCMI_gv_pM_MissionTipCount += 1;
    libVCMI_gv_pM_MissionTip[libVCMI_gv_pM_MissionTipCount] = lp_tipData;
    lv_createdCount = UserDataGetInt("CampaignTips", lp_tipData, "Created", 1);
    UserDataSetInt("CampaignTips", lp_tipData, "Created", 1, (lv_createdCount + 1));
    libVCMI_gf_PM_RefreshTip();

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

                for ( ; ( (auto8A407701_ai >= 0 && lv_indexValue <= auto8A407701_ae) || (auto8A407701_ai < 0 && lv_indexValue >= auto8A407701_ae) ) ; lv_indexValue += auto8A407701_ai ) {
                    if ((libVCST_gf_PS_DebugStoryConditionPassed(lv_typeString, lv_instanceString, lv_fieldString, "1", CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Operation", c_playerAny), CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Value", c_playerAny)) == true)) {
                        DataTableSetInt(false, (lv_typeString + "." + lv_instanceString + "." + lv_fieldString), UserDataGetInt(lv_userType, lv_userInstance, lv_userField, 1));
                        break;
                    }

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

    auto08DEDB16_val = lp_compare;
    if (auto08DEDB16_val == "NotEqual") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) != StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "Equal") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) == StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "LessEqual") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) <= StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "GreaterEqual") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) >= StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "Greater") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) > StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "Less") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) < StringToInt(lp_value))) {
            return true;
        }

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

        lv_indexClickable = UserDataInstance("Clickable", auto741B8B93_ai);
        lv__SectionName = "ClickableType";
        BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), UserDataGetInt("Clickable", lv_indexClickable, "Type", 1));
        lv__SectionName = "CharacterNew";
        BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), BoolToInt(libVCST_gf_PS_ClickableIsNew(lv_indexClickable)));

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

    for ( ; ( (auto2637DB5C_ai >= 0 && lv_stateIndex <= auto2637DB5C_ae) || (auto2637DB5C_ai < 0 && lv_stateIndex >= auto2637DB5C_ae) ) ; lv_stateIndex += auto2637DB5C_ai ) {
        lv_indexState = UserDataInstance("WriterStates", lv_stateIndex);
        if ((UserDataGetInt("StoryStates", lv_indexState, "Snapshot", 1) == 1)) {
            lv_newValue = UserDataGetInt("StoryStates", lv_indexState, "Value", 1);
            UserDataLoadInstance("WriterStates", lv_indexState, libVoiC_gf_StoryBank(), ("WriterStateSnapshot"));

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

        lv_indexState = UserDataInstance("WriterStates", lv_stateIndex);
        if ((UserDataGetInt("StoryStates", lv_indexState, "Snapshot", 1) == 1)) {
            lv_newValue = UserDataGetInt("StoryStates", lv_indexState, "Value", 1);
            UserDataLoadInstance("WriterStates", lv_indexState, libVoiC_gf_StoryBank(), ("WriterStateSnapshot"));
            if ((UserDataGetInt("WriterStates", lv_indexState, "Value", 1) == lv_newValue)) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:742


    }
    if ((libVCUI_gv_pU_ArmyUnitSelectedIndex[libVCUI_gv_pU_ArmyCategorySelectedIndex] != 0) && (UserDataGetInt("StoryStates", "Army UI Visited", "Value", 1) != 0)) {
        lv_categoryIndex = libVCUI_gv_pU_ArmyCategoryCount;
        for ( ; ( (auto2DB1F250_ai >= 0 && lv_categoryIndex <= auto2DB1F250_ae) || (auto2DB1F250_ai < 0 && lv_categoryIndex >= auto2DB1F250_ae) ) ; lv_categoryIndex += auto2DB1F250_ai ) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:2574

    DialogSetVisible(libVCUI_gv_pU_SoADialog, PlayerGroupAll(), true);
    DialogSetSubtitlePositionOverrideControl(libVCUI_gv_pU_SoASubtitleAnchor);
    if ((lp_debugOn == false) && (UserDataGetInt("StoryStates", "Ship UI Visited", "Value", 1) == 0)) {
        TriggerExecute(libVCUI_gt_PU_SoATutorial, true, false);
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:2592

    DialogClearSubtitlePositionOverrideControl();
    TransmissionClear(TransmissionLastSent());
    if ((UserDataGetInt("StoryStates", "Ship UI Visited", "Value", 1) == 0)) {
        UserDataSetInt("StoryStates", "Ship UI Visited", "Value", 1, 1);
        libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(null), c_invalidPortraitId, SoundLink(ConversationDataGetSound("Tutorial_Ship|Line00011", true), c_soundIndexAny), 0.0, c_transmissionDurationAdd, false);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:2827

    // Automatic Variable Declarations
    // Implementation
    if ((lp_campaignPerk == "GPTier4Power3") && (UserDataGetInt("StoryStates", "FenixNameChange", "Value", 1) == 1)) {
        TextExpressionSetToken("Param/Expression/lib_VCUI_5F70C1F3", "NAME", StringExternal("Button/Name/SOAFenixUpgraded"));
        TextExpressionSetToken("Param/Expression/lib_VCUI_5F70C1F3", "DESCRIPTION", StringExternal("Button/Tooltip/SOAFenixUpgraded"));

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:3114

    // Automatic Variable Declarations
    // Implementation
    return UserDataGetInt("Locations", UserDataInstanceFromReference(CatalogFieldValueGet(c_gameCatalogLocation, lp_location, "UserReference", 1)), "SortIndex", 1);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6636

    // Conditions
    if (testConds) {
        if (!((UserDataGetInt("StoryStates", "Army UI Visited", "Value", 1) == 0))) {
            return false;
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6726

    // Conditions
    if (testConds) {
        if (!((UserDataGetInt("StoryStates", "Army UI Visited", "Value", 1) == 1))) {
            return false;
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6787

    // Conditions
    if (testConds) {
        if (!((UserDataGetInt("StoryStates", "Army UI Visited", "Value", 1) == 1))) {
            return false;
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:183

        libGame_gv_wheelPingMapping[init_i].lv_action = "";
    }
    libGame_gv_wheelPingOffsetIndex = UserDataGetInt("TheWheelOfCommand", "[Default]", "PingIndex", 1);
    for (init_i = 0; init_i <= 15; init_i += 1) {
        libGame_gv_wheelCmdHeroGroup[init_i] = UnitGroupEmpty();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:17943

    for ( ; ( (auto65AE22CB_ai >= 0 && lv_i <= auto65AE22CB_ae) || (auto65AE22CB_ai < 0 && lv_i >= auto65AE22CB_ae) ) ; lv_i += auto65AE22CB_ai ) {
        lv_instance = UserDataInstance(libGame_gv_wheelCmdUserType, lv_i);
        lv_pingIndex = UserDataGetInt(libGame_gv_wheelCmdUserType, lv_instance, "PingIndex", 1);
        lv_cmd = UserDataGetAbilCmd("TheWheelOfCommand", lv_instance, "Command", 1);
        lv_dummyEffect = UserDataGetGameLink(libGame_gv_wheelCmdUserType, lv_instance, "WheelDiffEffect", 1);

mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmodbase.stormdata/LibSCHO.galaxy:1578

    lv_itUserData = 1;
    for ( ; ( (autoAD53C12D_ai >= 0 && lv_itUserData <= autoAD53C12D_ae) || (autoAD53C12D_ai < 0 && lv_itUserData >= autoAD53C12D_ae) ) ; lv_itUserData += autoAD53C12D_ai ) {
        auto2149D197_ae = UserDataGetInt("BeaconWaves", lv_tier, lv_count, lv_itUserData);
        lv_itSpawnUnit = 1;
        for ( ; ( (auto2149D197_ai >= 0 && lv_itSpawnUnit <= auto2149D197_ae) || (auto2149D197_ai < 0 && lv_itSpawnUnit >= auto2149D197_ae) ) ; lv_itSpawnUnit += auto2149D197_ai ) {

mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmodbase.stormdata/LibSCHO.galaxy:3520

    lv_itUserData = 1;
    for ( ; ( (auto5F9041E4_ai >= 0 && lv_itUserData <= auto5F9041E4_ae) || (auto5F9041E4_ai < 0 && lv_itUserData >= auto5F9041E4_ae) ) ; lv_itUserData += auto5F9041E4_ai ) {
        libNtve_gf_CreateUnitsWithDefaultFacing(UserDataGetInt("AttackWaves", lp_attackWave, "Count", lv_itUserData), UserDataGetGameLink("AttackWaves", lp_attackWave, "Attacking Units", lv_itUserData), 0, libCore_gv_cOMPUTER_Hostile, RegionRandomPoint(lp_attackRegion), null);
    }
}

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibCMMI.galaxy:182


    // Implementation
    lv_progress = UserDataGetInt("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "Progress", 1);
    if ((((libComC_gf_MissionObjectiveItemCount(lp_objective) == 0) && (libComC_gf_MissionObjectiveIsPrimary(lp_objective) == false)) || (libComC_gf_MissionObjectiveItemCount(lp_objective) > 1))) {
        lv_name = TextReplaceWord(UserDataGetText("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "FormatText", 1), StringExternal("Param/Value/lib_CMMI_CF15D796"), libComC_gf_MissionObjectiveName(lp_objective), c_stringReplaceAll, c_stringCase);

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:459

bool libComC_gf_CC_LocationIsDefault (string lp_location) {
    // Implementation
    return (UserDataGetInt("Locations", libComC_gf_CC_LocationUserData(lp_location), "Default", 1) == 1);
}

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:504

bool libComC_gf_StoryPlanetIsAvailable (string lp_planet) {
    // Implementation
    return (UserDataGetInt("Locations", libComC_gf_CC_LocationUserData(lp_planet), "Available", 1) == 1);
}

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:670

    }

    if ((UserDataGetInt("Maps", libComC_gf_CC_MapUserDataInstance(lp_map), "Internal", 1) == 1)) {
        return true;
    }

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:743

    autoFEAACA45_val = lp_status;
    if (autoFEAACA45_val == libComC_ge_MissionStatus_Available) {
        return UserDataGetInt("Maps", libComC_gf_CC_MapUserDataInstance(lp_mission), "AvailableAge", 1);
    }
    else if (autoFEAACA45_val == libComC_ge_MissionStatus_Completed) {

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:746

    }
    else if (autoFEAACA45_val == libComC_ge_MissionStatus_Completed) {
        return UserDataGetInt("Maps", libComC_gf_CC_MapUserDataInstance(lp_mission), "CompletedAge", 1);
    }
    else {

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:812

int libComC_gf_MissionCompleteBestTime (string lp_mission, int lp_difficulty) {
    // Implementation
    return UserDataGetInt("Maps", libComC_gf_CC_MapUserDataInstance(lp_mission), "BestTime", libComC_gf_CC_DifficultyIndex(lp_difficulty));
}

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:1385

bool libComC_gf_MissionObjectiveStateCheck (string lp_objective, int lp_state) {
    // Implementation
    if ((UserDataGetInt("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "Available", 1) == 1) && (lp_state == libComC_ge_MissionObjectiveState_Available)) {
        return true;
    }

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:1389

    }

    if ((UserDataGetInt("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "Complete", 1) == 1) && (lp_state == libComC_ge_MissionObjectiveState_Completed)) {
        return true;
    }

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:1393

    }

    if ((lp_state == libComC_ge_MissionObjectiveState_Undiscovered) && (UserDataGetInt("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "Available", 1) == 0) && (UserDataGetInt("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "Complete", 1) == 0)) {
        return true;
    }

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:1393

    }

    if ((lp_state == libComC_ge_MissionObjectiveState_Undiscovered) && (UserDataGetInt("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "Available", 1) == 0) && (UserDataGetInt("MissionObjective", libComC_gf_CC_ObjectiveUserDataInstance(lp_objective), "Complete", 1) == 0)) {
        return true;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2396

bool libNCMI_gf_CharacterIsAlive (string lp_character) {
    // Implementation
    if ((UserDataGetInt("CharacterStatus", lp_character, "IsAlive", 1) == 1)) {
        return true;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2877


    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) >= UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1)) && (UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1) != 0)) {
        return ;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2877


    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) >= UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1)) && (UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1) != 0)) {
        return ;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2877


    // Implementation
    if ((UserDataGetInt("CampaignTips", lp_tipData, "Created", 1) >= UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1)) && (UserDataGetInt("CampaignTips", lp_tipData, "Display Limit", 1) != 0)) {
        return ;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2883

    libNCMI_gv_NM_MissionTipCount += 1;
    libNCMI_gv_NM_MissionTip[libNCMI_gv_NM_MissionTipCount] = lp_tipData;
    lv_createdCount = UserDataGetInt("CampaignTips", lp_tipData, "Created", 1);
    UserDataSetInt("CampaignTips", lp_tipData, "Created", 1, (lv_createdCount + 1));
    libNCMI_gf_NM_RefreshTip();

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:6280

    }

    if ((UserDataGetInt("StoryStates", "NovaHasRevivedBefore", "Value", 1) == 0)) {
        UserDataSetInt("StoryStates", "NovaHasRevivedBefore", "Value", 1, 1);
        if ((libComC_gf_CurrentMap() == "Nova02")) {

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

                for ( ; ( (auto8A407701_ai >= 0 && lv_indexValue <= auto8A407701_ae) || (auto8A407701_ai <= 0 && lv_indexValue >= auto8A407701_ae) ) ; lv_indexValue += auto8A407701_ai ) {
                    if ((libNCST_gf_NS_DebugStoryConditionPassed(lv_typeString, lv_instanceString, lv_fieldString, "1", CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Operation", c_playerAny), CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Value", c_playerAny)) == true)) {
                        DataTableSetInt(false, (lv_typeString + "." + lv_instanceString + "." + lv_fieldString), UserDataGetInt(lv_userType, lv_userInstance, lv_userField, 1));
                        break;
                    }

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

    auto08DEDB16_val = lp_compare;
    if (auto08DEDB16_val == "NotEqual") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) != StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "Equal") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) == StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "LessEqual") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) <= StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "GreaterEqual") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) >= StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "Greater") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) > StringToInt(lp_value))) {
            return true;
        }

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

    }
    else if (auto08DEDB16_val == "Less") {
        if ((UserDataGetInt((lp_userType), (lp_userInstance), (lp_userField), 1) < StringToInt(lp_value))) {
            return true;
        }

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

        lv_indexClickable = UserDataInstance("Clickable", auto741B8B93_ai);
        lv__SectionName = "ClickableType";
        BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), UserDataGetInt("Clickable", lv_indexClickable, "Type", 1));
        lv__SectionName = "CharacterNew";
        BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), BoolToInt(libNCST_gf_NS_ClickableIsNew(lv_indexClickable)));

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

    for ( ; ( (auto2637DB5C_ai >= 0 && lv_stateIndex <= auto2637DB5C_ae) || (auto2637DB5C_ai <= 0 && lv_stateIndex >= auto2637DB5C_ae) ) ; lv_stateIndex += auto2637DB5C_ai ) {
        lv_indexState = UserDataInstance("WriterStates", lv_stateIndex);
        if ((UserDataGetInt("StoryStates", lv_indexState, "Snapshot", 1) == 1)) {
            lv_newValue = UserDataGetInt("StoryStates", lv_indexState, "Value", 1);
            UserDataLoadInstance("WriterStates", lv_indexState, libComC_gf_CC_StoryBank(), ("WriterStateSnapshot"));

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

        lv_indexState = UserDataInstance("WriterStates", lv_stateIndex);
        if ((UserDataGetInt("StoryStates", lv_indexState, "Snapshot", 1) == 1)) {
            lv_newValue = UserDataGetInt("StoryStates", lv_indexState, "Value", 1);
            UserDataLoadInstance("WriterStates", lv_indexState, libComC_gf_CC_StoryBank(), ("WriterStateSnapshot"));
            if ((UserDataGetInt("WriterStates", lv_indexState, "Value", 1) == lv_newValue)) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:2035

void libNCUI_gf_NU_UpgradesDisplay () {
    // Implementation
    if ((UserDataGetInt("WriterStates", "VisitedArmyUpgradeRoom", "Value", 1) == 1)) {
        libNCUI_gv_nU_UpgradesTutorialStage = libNCUI_gv_nUC_UpgradesTutorialEndStage;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:2760


    // Implementation
    if ((UserDataGetInt("WriterStates", "VisitedEquipmentRoom", "Value", 1) == 1)) {
        libNCUI_gv_nU_EquipmentTutorialStage = libNCUI_gv_nUC_EquipmentTutorialEndStage;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:6199

    lv_equipmentCategoryIndex = 1;
    for ( ; ( (autoC301D732_ai >= 0 && lv_equipmentCategoryIndex <= autoC301D732_ae) || (autoC301D732_ai <= 0 && lv_equipmentCategoryIndex >= autoC301D732_ae) ) ; lv_equipmentCategoryIndex += autoC301D732_ai ) {
        if ((libNCUI_gv_nU_Equipment_Subselection_SelectedItem[lv_equipmentCategoryIndex] != 0) && (libNCUI_gv_nU_EquipmentTutorialStage == 1) && (UserDataGetInt("WriterStates", "HaveReigel", "Value", 1) == 1)) {
            ConversationDataStop();
            libNCUI_gv_nU_EquipmentTutorialStage = libNCUI_gv_nUC_EquipmentTutorialEndStage;