# Set Dialog Item Accept Mouse

Grammar — Set dialogItem Accept Mouse flag to acceptMouse for players
FlagsAction

Set a Trigger Dialog Item to Accept the Mouse target or not. Items that don*“t accept the mouse target won”*t receive clicks or show tooltips. By default most items already accept the mouse target, but Labels and Images do not.

# Arguments

  • int [ control ] — Dialog Item
  • bool — Accept Mouse
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemAcceptMouse(
	int lp_dialogItem,
	bool lp_acceptMouse,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L575
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L2948
libNtve_gf_SetDialogItemAcceptMouse(libSwaC_gv_zS_BB_BorderImage, true, PlayerGroupAll())
// L3162
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L3165
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# campaigns/void.sc2campaign

MapScript.galaxy

// L725
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L1517
libNtve_gf_SetDialogItemAcceptMouse(gv_overloadTempleFlashingButton, false, PlayerGroupAll())
// L725
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L1517
libNtve_gf_SetDialogItemAcceptMouse(gv_overloadTempleFlashingButton, false, PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L8284
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L3231
libNtve_gf_SetDialogItemAcceptMouse(libVCUI_gv_pU_StarmapPlanetTitleName[1], false, PlayerGroupAll())
// L3232
libNtve_gf_SetDialogItemAcceptMouse(libVCUI_gv_pU_StarmapPlanetTitleName[2], false, PlayerGroupAll())
// L3752
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L3755
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L8888
libNtve_gf_SetDialogItemAcceptMouse(libVCUI_gv_pU_StarmapPlanetTitleName[1], true, PlayerGroupAll())
// L8889
libNtve_gf_SetDialogItemAcceptMouse(libVCUI_gv_pU_StarmapPlanetTitleName[2], true, PlayerGroupAll())
// L8906
libNtve_gf_SetDialogItemAcceptMouse(libVCUI_gv_pU_StarmapPlanetTitleName[2], true, PlayerGroupAll())
// L8915
libNtve_gf_SetDialogItemAcceptMouse(libVCUI_gv_pU_StarmapPlanetTitleName[1], true, PlayerGroupAll())

# mods/heroesdata.stormmod

UILib.galaxy

// L9725
libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_announcerRadio, false, PlayerGroupAll())
// L10574
libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_announcerRadio, false, PlayerGroupSingle(lv_triggeringPlayer))
// L10575
libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, true, PlayerGroupSingle(lv_triggeringPlayer))
// L10626
libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_announcerRadio, true, PlayerGroupSingle(lv_triggeringPlayer))
// L10627
libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, false, PlayerGroupSingle(lv_triggeringPlayer))

# mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod

LibMSC2.galaxy

// L1134
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/missionpacks/campaigncommon.sc2mod

LibComC.galaxy

// L4249
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L3312
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L3315
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L3318
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L1324
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_gorgon1, false, PlayerGroupAll())
// L1327
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_gorgon2, false, PlayerGroupAll())
// L1330
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_gorgon3, false, PlayerGroupAll())
// L1373
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button1, true, PlayerGroupAll())
// L1385
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button2, true, PlayerGroupAll())
// L1397
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button3, true, PlayerGroupAll())
// L1459
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button1, false, PlayerGroupAll())
// L1468
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button2, false, PlayerGroupAll())
// L1477
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button3, false, PlayerGroupAll())
// L1324
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_gorgon1, false, PlayerGroupAll())
// L1327
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_gorgon2, false, PlayerGroupAll())
// L1330
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_gorgon3, false, PlayerGroupAll())
// L1373
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button1, true, PlayerGroupAll())
// L1385
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button2, true, PlayerGroupAll())
// L1397
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button3, true, PlayerGroupAll())
// L1459
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button1, false, PlayerGroupAll())
// L1468
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button2, false, PlayerGroupAll())
// L1477
libNtve_gf_SetDialogItemAcceptMouse(gv_gorgonDialog.lv_button3, false, PlayerGroupAll())

# mods/starcoop/starcoop.sc2mod

LibCOOC.galaxy

// L5380
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L2738
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L2741
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L2744
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L270
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L1939
libNtve_gf_SetDialogItemAcceptMouse(libA3DDD02B_gv_pP_BB_BorderImage, true, PlayerGroupAll())
// L2107
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L2110
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/warcoop/warclassicsystem.sc2mod

WarClassicSystem.galaxy

// L1020
libNtve_gf_SetDialogItemAcceptMouse(libGAwX_gv_warningText, false, PlayerGroupAll())

# mods/warcoop/warmeleeai.sc2mod

LibW3AI.galaxy

// L173
libNtve_gf_SetDialogItemAcceptMouse(libW3AI_gv_warningframe, true, PlayerGroupAll())