# Save Data Table Value (Dialog Item)
Grammar — Save value as name in the scope|Global/Local data table
Flags —Action
Saves a dialog item value into a data table. Data tables allow you to store and recall values using a string identifier. If you save a data table value using a string identifier that already exists, you will overwrite the old value, even if it is a different data type than the value you are saving.
# Arguments
bool
[ preset::DataScope ] — Scopestring
— Nameint
[ control ] — Value
Returns — void
void libNtve_gf_SaveDataTableValueDialogItem(
bool lp_scope,
string lp_name,
int lp_value,
);
# Related
Category: Data Table / Save Value
- [F] —
void
— Save Data Table Value (Ability Command) — ( DataTableSetAbilCmd ) - [F] —
void
— Save Data Table Value (Actor) — ( DataTableSetActor ) - [F] —
void
— Save Data Table Value (Actor Scope) — ( DataTableSetActorScope ) - [F] —
void
— Save Data Table Value (AI Filter) — ( DataTableSetAIFilter ) - [F] —
void
— Save Data Table Value (Bank) — ( DataTableSetBank ) - [F] —
void
— Save Data Table Value (Boolean) — ( DataTableSetBool ) - [F] —
void
— Save Data Table Value (Byte) — ( DataTableSetByte ) - [F] —
void
— Save Data Table Value (Camera Object) — ( DataTableSetCameraInfo ) - [F] —
void
— Save Data Table Value (Cinematic) — ( DataTableSetCinematic ) - [F] —
void
— Save Data Table Value (Color) — ( DataTableSetColor ) - [F] —
void
— Save Data Table Value (Control) — ( DataTableSetControl ) - [F] —
void
— Save Data Table Value (Conversation) — ( DataTableSetConversation ) - [F] —
void
— Save Data Table Value (Conversation Reply) — ( DataTableSetReply ) - [F] —
void
— Save Data Table Value (Dialog) — ( DataTableSetDialog ) - [F] —
void
— Save Data Table Value (Dialog Item) — ( libNtve_gf_SaveDataTableValueDialogItem ) - [F] —
void
— Save Data Table Value (Difficulty Level) — ( libNtve_gf_SaveDataTableValueDifficultyLevel ) - [F] —
void
— Save Data Table Value (Doodad) — ( DataTableSetDoodad ) - [F] —
void
— Save Data Table Value (Integer) — ( DataTableSetInt ) - [F] —
void
— Save Data Table Value (Marker) — ( DataTableSetMarker ) - [F] —
void
— Save Data Table Value (Objective) — ( DataTableSetObjective ) - [F] —
void
— Save Data Table Value (Order) — ( DataTableSetOrder ) - [F] —
void
— Save Data Table Value (Ping) — ( DataTableSetPing ) - [F] —
void
— Save Data Table Value (Planet) — ( DataTableSetPlanet ) - [F] —
void
— Save Data Table Value (Player Color) — ( libNtve_gf_SaveDataTableValuePlayerColor ) - [F] —
void
— Save Data Table Value (Player Group) — ( DataTableSetPlayerGroup ) - [F] —
void
— Save Data Table Value (Point) — ( DataTableSetPoint ) - [F] —
void
— Save Data Table Value (Portrait) — ( DataTableSetPortrait ) - [F] —
void
— Save Data Table Value (Real) — ( DataTableSetFixed ) - [F] —
void
— Save Data Table Value (Region) — ( DataTableSetRegion ) - [F] —
void
— Save Data Table Value (Revealer) — ( DataTableSetRevealer ) - [F] —
void
— Save Data Table Value (Sound) — ( DataTableSetSound ) - [F] —
void
— Save Data Table Value (Sound Link) — ( DataTableSetSoundLink ) - [F] —
void
— Save Data Table Value (String) — ( DataTableSetString ) - [F] —
void
— Save Data Table Value (Text) — ( DataTableSetText ) - [F] —
void
— Save Data Table Value (Text Tag) — ( libNtve_gf_SaveDataTableValueTextTag ) - [F] —
void
— Save Data Table Value (Timer) — ( DataTableSetTimer ) - [F] —
void
— Save Data Table Value (Transmission) — ( DataTableSetTransmission ) - [F] —
void
— Save Data Table Value (Transmission Source) — ( DataTableSetTransmissionSource ) - [F] —
void
— Save Data Table Value (Trigger) — ( DataTableSetTrigger ) - [F] —
void
— Save Data Table Value (Unit) — ( DataTableSetUnit ) - [F] —
void
— Save Data Table Value (Unit Filter) — ( DataTableSetUnitFilter ) - [F] —
void
— Save Data Table Value (Unit Group) — ( DataTableSetUnitGroup ) - [F] —
void
— Save Data Table Value (Unit Reference) — ( DataTableSetUnitRef ) - [F] —
void
— Save Data Table Value (Wave) — ( DataTableSetWave ) - [F] —
void
— Save Data Table Value (Wave Info) — ( DataTableSetWaveInfo ) - [F] —
void
— Save Data Table Value (Wave Target) — ( DataTableSetWaveTarget )
# Examples
# campaigns/swarmstory.sc2campaign
// L8324
libNtve_gf_SaveDataTableValueDialogItem(true, (libSwaC_gv_zSC_ArmyCalloutFlashDataPrefix + (lp_armyCategory)), DialogControlLastCreated())
// L14587
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("Button", (lp_mission)), DialogControlLastCreated())
// L14594
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("StateLabel", (lp_mission)), DialogControlLastCreated())
// L14599
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("TechLabel", (lp_mission)), DialogControlLastCreated())
// L14604
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("BonusLabel", (lp_mission)), DialogControlLastCreated())
// L14610
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("PlayButton", (lp_mission)), DialogControlLastCreated())
// L14616
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("PlayImage", (lp_mission)), DialogControlLastCreated())
// L14692
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("PlanetButton", ("Expedition")), DialogControlLastCreated())
// L14694
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("PlanetImage", ("Expedition")), DialogControlLastCreated())
// L14708
libNtve_gf_SaveDataTableValueDialogItem(true, libSwaC_gf_ZS_DebugProgressDataTableID("PlanetButton", ("Char")), DialogControlLastCreated())
# campaigns/voidstory.sc2campaign
// L900
libNtve_gf_SaveDataTableValueDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("Button", (lp_mission)), DialogControlLastCreated())
// L907
libNtve_gf_SaveDataTableValueDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("StateLabel", (lp_mission)), DialogControlLastCreated())
// L912
libNtve_gf_SaveDataTableValueDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("TechLabel", (lp_mission)), DialogControlLastCreated())
// L917
libNtve_gf_SaveDataTableValueDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("ChampionLabel", (lp_mission)), DialogControlLastCreated())
// L923
libNtve_gf_SaveDataTableValueDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("PlayButton", (lp_mission)), DialogControlLastCreated())
// L929
libNtve_gf_SaveDataTableValueDialogItem(true, libVoiC_gf_PC_DebugProgressDataTableID("PlayImage", (lp_mission)), DialogControlLastCreated())
# campaigns/voidstory.sc2campaign
// L4362
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Panel), lv_progressBarPanel)
// L4363
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar), lv_progressBarProgressBar)
// L4364
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Label), lv_progressBarLabel)
// L4365
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value), lv_progressBarValue)
// L4411
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Panel), lv_noDialogItem)
// L4412
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar), lv_noDialogItem)
// L4413
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value), lv_noDialogItem)
// L4414
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_ProgressBarUnit_DialogNameOld(lp_unit, libVCUI_ge_PU_ProgressBarUnit_DialogTypesOld_ProgressBar_Label), lv_noDialogItem)
// L4649
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Label), lv_progressBarLabel)
// L4650
libNtve_gf_SaveDataTableValueDialogItem(true, libVCUI_gf_PU_UnitProgressBar_Dialog(lp_unit, libVCUI_ge_PU_UnitProgressBar_DialogTypes_ProgressBar_Value), lv_progressBarValue)
# mods/missionpacks/campaigncommon.sc2mod
// L197
libNtve_gf_SaveDataTableValueDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label), lv_progressBarLabel)
// L198
libNtve_gf_SaveDataTableValueDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Value), lv_progressBarValue)
// L199
libNtve_gf_SaveDataTableValueDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Bar), lv_progressBar)
// L200
libNtve_gf_SaveDataTableValueDialogItem(true, libCMUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCMUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Broder), lv_progressBarBorder)
# mods/missionpacks/novacampaign.sc2mod
// L810
libNtve_gf_SaveDataTableValueDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("Button", (lp_mission)), DialogControlLastCreated())
// L817
libNtve_gf_SaveDataTableValueDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("StateLabel", (lp_mission)), DialogControlLastCreated())
// L822
libNtve_gf_SaveDataTableValueDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("TechLabel", (lp_mission)), DialogControlLastCreated())
// L827
libNtve_gf_SaveDataTableValueDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("ChampionLabel", (lp_mission)), DialogControlLastCreated())
// L833
libNtve_gf_SaveDataTableValueDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("PlayButton", (lp_mission)), DialogControlLastCreated())
// L839
libNtve_gf_SaveDataTableValueDialogItem(true, libNovC_gf_NC_DebugProgressDataTableID("PlayImage", (lp_mission)), DialogControlLastCreated())
# mods/starcoop/starcoop.sc2mod
// L3443
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Panel), lv_progressBarPanel)
// L3444
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar), lv_progressBarProgressBar)
// L3445
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Label), lv_progressBarLabel)
// L3446
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value), lv_progressBarValue)
// L3492
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Panel), lv_noDialogItem)
// L3493
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_ProgressBar), lv_noDialogItem)
// L3494
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Value), lv_noDialogItem)
// L3495
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_ProgressBarUnit_DialogNameOld(lp_unit, libCOUI_ge_CU_ProgressBarUnit_DialogTypesOld_ProgressBar_Label), lv_noDialogItem)
// L3730
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Label), lv_progressBarLabel)
// L3731
libNtve_gf_SaveDataTableValueDialogItem(true, libCOUI_gf_CU_UnitProgressBar_Dialog(lp_unit, libCOUI_ge_CU_UnitProgressBar_DialogTypes_ProgressBar_Value), lv_progressBarValue)