# Value From Data Table (Dialog Item)

Grammarname from the scope|Global/Local data table
FlagsFunction

Returns a dialog item value from a data table. Data tables allow you to store and recall values using a string identifier.

# Arguments

  • bool [ preset::DataScope ] — Scope
  • string — Name

Returns — int [ control ]

int libNtve_gf_ValueFromDataTableDialogItem(
	bool lp_scope,
	string lp_name,
);

Category: Data Table / Load Value

# Examples

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L8370
libNtve_gf_ValueFromDataTableDialogItem(true, (libSwaC_gv_zSC_ArmyCalloutFlashDataPrefix + (lp_armyCategory)))
// L14682
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("Button", ("ZExpedition1")))
// L14698
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("Button", ("ZChar1")))
// L14714
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("Button", ("ZZerus1")))
// L14730
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("Button", ("ZHybrid1")))
// L14746
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("Button", ("ZSpace1")))
// L14762
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("Button", ("ZKorhal1")))
// L14816
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("StateLabel", (lv_indexMission)))
// L14817
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("TechLabel", (lv_indexMission)))
// L14818
libNtve_gf_ValueFromDataTableDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("BonusLabel", (lv_indexMission)))

# campaigns/void.sc2campaign

MapScript.galaxy

// L284
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(gv_celestialLocks[lp_index].lv_progressBarDummyUnit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value))
// L3607
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(gv_celestialLocks[1].lv_progressBarDummyUnit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value))
// L3665
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(gv_celestialLocks[3].lv_progressBarDummyUnit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value))
// L284
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(gv_celestialLocks[lp_index].lv_progressBarDummyUnit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value))
// L3607
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(gv_celestialLocks[1].lv_progressBarDummyUnit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value))
// L3665
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(gv_celestialLocks[3].lv_progressBarDummyUnit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value))

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L1010
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PKorhal01")))
// L1015
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PShakuras01")))
// L1020
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PPurifier01")))
// L1025
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PUlnar01")))
// L1030
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PTaldarim01")))
// L1035
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PPurifier02")))
// L1040
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PMoebius01")))
// L1045
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", ("PAiur04")))
// L1092
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("StateLabel", (lv_indexMission)))
// L1093
libNtve_gf_ValueFromDataTableDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("TechLabel", (lv_indexMission)))

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L4401
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar))
// L4402
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value))
// L4403
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value))
// L4404
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Panel))
// L4454
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Label))
// L4514
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar))
// L4515
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value))
// L4632
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Bar))
// L4632
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Broder))
// L4632
libNtve_gf_ValueFromDataTableDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Label))

# mods/missionpacks/campaigncommon.sc2mod

LibCMUI.galaxy

// L180
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Bar))
// L180
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Broder))
// L180
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label))
// L180
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Value))
// L181
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Bar))
// L182
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Broder))
// L183
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label))
// L184
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Value))
// L249
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label))
// L275
libNtve_gf_ValueFromDataTableDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label))

# mods/missionpacks/novacampaign.sc2mod

LibNovC.galaxy

// L939
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("StateLabel", (lv_indexMission)))
// L940
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("TechLabel", (lv_indexMission)))
// L949
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("Button", (lv_indexMission)))
// L950
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("PlayButton", (lv_indexMission)))
// L951
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("PlayImage", (lv_indexMission)))
// L2972
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("Button", (lv_indexMission)))
// L3063
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("Button", (lv_indexMission)))
// L3176
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("StateLabel", (lv_indexMission)))
// L3177
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("TechLabel", (lv_indexMission)))
// L3185
libNtve_gf_ValueFromDataTableDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("Button", (lv_indexMission)))

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L3482
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar))
// L3483
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value))
// L3484
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value))
// L3485
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Panel))
// L3535
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Label))
// L3595
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar))
// L3596
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value))
// L3713
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Bar))
// L3713
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Broder))
// L3713
libNtve_gf_ValueFromDataTableDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label))