# Set Dialog Item Handle

Grammar — Set dialogItem Frame Handle to handle for players
FlagsAction

This sets the unique handle for the dialog item. Supported for Dialog Items of type Frame. Only used internally.

# Arguments

  • int [ control ] — Dialog Item
  • string — Handle
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemHandle(
	int lp_dialogItem,
	string lp_handle,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3291
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_CantinaArcade_StartButton", PlayerGroupAll())
// L3540
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_CantinaArcade_ContinueButton", PlayerGroupAll())
// L4098
libNtve_gf_SetDialogItemHandle(libNtve_gf_ScreenButton(gv_c_ScreenButton_Quit), "WoL_CantinaArcade_QuitButton", PlayerGroupAll())
// L2575
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_BackButton", PlayerGroupAll())
// L10402
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ZPlanetPanel_CloseButton", PlayerGroupAll())
// L10424
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ZPlanetPanel_LaunchButton", PlayerGroupAll())
// L13786
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ABChoice_AButton", PlayerGroupAll())
// L13791
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ABChoice_BButton", PlayerGroupAll())
// L22707
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_CantinaArcade_PlayButton", PlayerGroupAll())
// L3291
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_CantinaArcade_StartButton", PlayerGroupAll())
// L3540
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_CantinaArcade_ContinueButton", PlayerGroupAll())
// L4098
libNtve_gf_SetDialogItemHandle(libNtve_gf_ScreenButton(gv_c_ScreenButton_Quit), "WoL_CantinaArcade_QuitButton", PlayerGroupAll())
// L2575
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_BackButton", PlayerGroupAll())
// L10402
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ZPlanetPanel_CloseButton", PlayerGroupAll())
// L10424
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ZPlanetPanel_LaunchButton", PlayerGroupAll())
// L13786
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ABChoice_AButton", PlayerGroupAll())
// L13791
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_ABChoice_BButton", PlayerGroupAll())
// L22707
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_CantinaArcade_PlayButton", PlayerGroupAll())

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L5701
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("WoL_RoomChangeButton" + IntToString(libCamp_gv_tS_RoomChangeButtonCount)), PlayerGroupAll())
// L5721
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("WoL_RoomChangeLabel" + IntToString(libCamp_gv_tS_RoomChangeButtonCount)), PlayerGroupAll())
// L10460
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("WoL_DebugProgress_MissionButton" + IntToString(lv_missionIndex)), PlayerGroupAll())
// L10469
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_DebugProgress_UnlockSecretButton", PlayerGroupAll())
// L10609
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_DebugProgress_OkButton", PlayerGroupAll())
// L10620
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_DebugProgress_CancelButton", PlayerGroupAll())
// L10626
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_DebugProgress_ResetButton", PlayerGroupAll())
// L10633
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "WoL_DebugProgress_LaunchMissionButton", PlayerGroupAll())

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L14306
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_VictoryPanel_ContinueButton", PlayerGroupAll())
// L14585
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("HotS_DebugProgress_MissionButton" + (lp_mission)), PlayerGroupAll())
// L14665
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_OkButton", PlayerGroupAll())
// L14668
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_CancelButton", PlayerGroupAll())
// L14671
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_ResetButton", PlayerGroupAll())
// L14686
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_KaldirTravelButton", PlayerGroupAll())
// L14702
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_CharTravelButton", PlayerGroupAll())
// L14718
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_ZerusTravelButton", PlayerGroupAll())
// L14734
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_SkygeirrStationTravelButton", PlayerGroupAll())
// L14750
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_DebugProgress_DominionSpaceTravelButton", PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L898
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("LotV_DebugProgress_MissionButton" + (lp_mission)), PlayerGroupAll())
// L974
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "LotV_DebugProgress_OkButton", PlayerGroupAll())
// L977
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "LotV_DebugProgress_CancelButton", PlayerGroupAll())
// L980
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "LotV_DebugProgress_ResetButton", PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L5418
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "HotS_VictoryPanel_ContinueButton", PlayerGroupAll())
// L8681
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("StarmapPlanet" + IntToString(lv_index)), PlayerGroupAll())

# mods/challenges.sc2mod

LibChal.galaxy

// L532
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "ChallengeVictoryPanel_ContinueButton", PlayerGroupAll())
// L543
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "ChallengeVictoryPanel_RetryButton", PlayerGroupAll())
// L780
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("ChallengeVictoryPanel_RetryWaveButton" + IntToString(lv_index)), PlayerGroupAll())
// L1122
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "ChallengeDefeatPanel_QuitButton", PlayerGroupAll())
// L1133
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "ChallengeDefeatPanel_RetryButton", PlayerGroupAll())
// L1329
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("ChallengeDefeatPanel_RetryWaveButton" + IntToString(lv_index)), PlayerGroupAll())
// L1667
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "ChallengeWaveSuccessPanel_ContinueButton", PlayerGroupAll())

# mods/missionpacks/novacampaign.sc2mod

LibNovC.galaxy

// L808
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), ("Nova_DebugProgress_MissionButton" + (lp_mission)), PlayerGroupAll())
// L873
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "Nova_DebugProgress_OkButton", PlayerGroupAll())
// L876
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "Nova_DebugProgress_CancelButton", PlayerGroupAll())
// L879
libNtve_gf_SetDialogItemHandle(DialogControlLastCreated(), "Nova_DebugProgress_ResetButton", PlayerGroupAll())