# Set Dialog Item Accept Mouse
Grammar — Set dialogItem Accept Mouse flag to acceptMouse for players
Flags —Action
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 Itembool
— Accept Mouseplayergroup
— Players
Returns — void
void libNtve_gf_SetDialogItemAcceptMouse(
int lp_dialogItem,
bool lp_acceptMouse,
playergroup lp_players,
);
# Related
Category: Dialog / Dialog Item Tools
- [F] —
void
— Dialog Item Send Animation Event 2 — ( DialogControlSetAnimationState ) - [F] —
void
— Position Subtitle to Dialog Item — ( DialogSetSubtitlePositionOverrideControl ) - [F] —
void
— Clear Subtitle Position Dialog Item — ( DialogClearSubtitlePositionOverrideControl ) - [F] —
void
— Destroy All Dialog Items — ( DialogControlDestroyAll ) - [F] —
int
[ dialog ] — Dialog Containing Dialog Item — ( DialogControlGetDialog ) - [F] —
int
[ preset::ControlType ] — Dialog Item Type — ( DialogControlGetType ) - [F] —
void
— Set Dialog Item Color — ( libNtve_gf_SetDialogItemColor ) - [F] —
void
— Set Dialog Item Style — ( libNtve_gf_SetDialogItemStyle ) - [F] —
void
— Set Dialog Item Text Writeout — ( libNtve_gf_SetDialogItemTextWriteout ) - [F] —
void
— Set Dialog Item Text Writeout Duration — ( libNtve_gf_SetDialogItemTextWriteoutDuration ) - [F] —
void
— Set Dialog Item Tooltip — ( libNtve_gf_SetDialogItemTooltip ) - [F] —
color
— Dialog Item Color — ( libNtve_gf_DialogItemColor ) - [F] —
string
[ fontstyle ] — Dialog Item Style — ( libNtve_gf_DialogItemStyle ) - [F] —
text
— Dialog Item Tooltip — ( libNtve_gf_DialogItemTooltip ) - [F] —
void
— Destroy Dialog Item — ( DialogControlDestroy ) - [F] —
void
— Set Dialog Item Image — ( libNtve_gf_SetDialogItemImage ) - [F] —
void
— Set Dialog Item Hover Image — ( libNtve_gf_SetDialogItemImage2 ) - [F] —
void
— Set Dialog Item Image Type — ( libNtve_gf_SetDialogItemImageType ) - [F] —
void
— Set Dialog Item Blend Mode — ( libNtve_gf_SetDialogItemBlendMode ) - [F] —
void
— Set Dialog Item Tiled — ( libNtve_gf_SetDialogItemImageType2 ) - [F] —
void
— Set Dialog Background — ( DialogSetImage ) - [F] —
string
— Dialog Item Image — ( libNtve_gf_DialogItemImage ) - [F] —
int
[ preset::ImageType ] — Dialog Item Image Type — ( libNtve_gf_DialogItemImageType ) - [F] —
void
— Fade Dialog Item Transparency — ( DialogControlFadeTransparency ) - [F] —
void
— Set Dialog Item Flash — ( libNtve_gf_SetDialogItemFlash ) - [F] —
void
— Set Dialog Item Cutscene — ( libNtve_gf_SetDialogItemCutscene ) - [F] —
void
— Dialog Item Invoke As Text — ( DialogControlInvokeAsText ) - [F] —
void
— Dialog Item Invoke As String — ( DialogControlInvokeAsString ) - [F] —
void
— Dialog Item Send Animation Event — ( DialogControlSendAnimationEvent ) - [F] —
void
— Dialog Item Set Animation Speed — ( DialogControlSetAnimationSpeed ) - [F] —
void
— Dialog Item Set Animation Time — ( DialogControlSetAnimationTime ) - [F] —
void
— Dialog Item Advance Animation — ( DialogControlAdvanceAnimation ) - [F] —
void
— Dialog Item Force Transition — ( DialogControlForceTransition ) - [F] —
void
— Dialog Item Request Focus — ( DialogControlRequestFocus ) - [F] —
void
— Set Dialog Item Achievement — ( libNtve_gf_SetDialogItemAchievement ) - [F] —
void
— Set Dialog Item Render Priority — ( libNtve_gf_SetDialogItemRenderPriority ) - [F] —
void
— Set Dialog Item Click On Down — ( libNtve_gf_SetDialogItemClickOnDown ) - [F] —
void
— Set Dialog Item Toggled — ( libNtve_gf_SetDialogItemToggled ) - [F] —
void
— Set Dialog Item Movie — ( libNtve_gf_SetDialogItemMovie ) - [F] —
void
— Set Dialog Item Desaturated — ( libNtve_gf_SetDialogItemDesaturated ) - [F] —
void
— Set Dialog Item Desaturation Color — ( libNtve_gf_SetDialogItemDesaturationColor ) - [F] —
void
— Set Dialog Item Custom Tooltip — ( libNtve_gf_SetDialogItemCustomTooltip ) - [F] —
void
— Set Dialog Item Unit — ( libNtve_gf_SetDialogItemUnit ) - [F] —
void
— Set Dialog Item Model — ( libNtve_gf_SetDialogItemModel ) - [F] —
void
— Set Dialog Item Animation — ( libNtve_gf_SetDialogItemAnimation ) - [F] —
void
— Set Dialog Item Camera — ( libNtve_gf_SetDialogItemCamera ) - [F] —
void
— Set Dialog Item Border Visible — ( libNtve_gf_SetDialogItemBorderVisible ) - [F] —
void
— Set Dialog Item Border Image — ( libNtve_gf_SetDialogItemBorderImage ) - [F] —
void
— Set Dialog Item Background Visible — ( libNtve_gf_SetDialogItemBackgroundVisible ) - [F] —
void
— Set Dialog Item Use Transition — ( libNtve_gf_SetDialogItemUseTransition ) - [F] —
void
— Set Dialog Item Muted — ( libNtve_gf_SetDialogItemMuted ) - [F] —
void
— Set Dialog Item Paused — ( libNtve_gf_SetDialogItemPaused ) - [F] —
void
— Set Dialog Item Accept Mouse — ( libNtve_gf_SetDialogItemAcceptMouse ) - [F] —
void
— Set Dialog Item Tint Color — ( libNtve_gf_SetDialogItemTintColor ) - [F] —
void
— Set Dialog Item Team Color — ( libNtve_gf_SetDialogItemTeamColor ) - [F] —
void
— Set Dialog Item Light — ( libNtve_gf_SetDialogItemLight ) - [F] —
void
— Set Dialog Item Transition Model — ( libNtve_gf_SetDialogItemTransitionModel ) - [F] —
void
— Set Dialog Item Force Visible — ( libNtve_gf_SetDialogItemForceVisible ) - [F] —
void
— Set Dialog Item Render Type — ( libNtve_gf_SetDialogItemRenderType ) - [F] —
void
— Set Dialog Item Unit Link — ( libNtve_gf_SetDialogItemUnitLink ) - [F] —
void
— Set Dialog Item Team Color Index — ( libNtve_gf_SetDialogItemTeamColorIndex ) - [F] —
void
— Set Dialog Item Animation Duration — ( libNtve_gf_SetDialogItemAnimationDuration ) - [F] —
void
— Set Dialog Item Animation Time — ( libNtve_gf_SetDialogItemAnimationTime ) - [F] —
void
— Set Dialog Item Actor — ( libNtve_gf_SetDialogItemActor ) - [F] —
void
— Set Dialog Item Behavior — ( libNtve_gf_SetDialogItemBehavior ) - [F] —
void
— Set Dialog Item Hotkey — ( libNtve_gf_SetDialogItemHotkey ) - [F] —
void
— Set Dialog Item Allowed Mouse Buttons — ( libNtve_gf_SetDialogItemAllowedMouseButtons ) - [F] —
void
— Set Dialog Item Alpha Mask — ( libNtve_gf_SetDialogItemAlphaMask ) - [F] —
void
— Set Dialog Item Animation Index — ( libNtve_gf_SetDialogItemAnimationIndex ) - [F] —
void
— Set Dialog Item Handle — ( libNtve_gf_SetDialogItemHandle ) - [F] —
void
— Set Dialog Item Border Color — ( libNtve_gf_SetDialogItemBorderColor ) - [F] —
void
— Set Dialog Item Fill Color — ( libNtve_gf_SetDialogItemFillColor ) - [F] —
void
— Set Dialog Item Submenu — ( libNtve_gf_SetDialogItemSubmenu ) - [F] —
void
— Set Dialog Item Unit Group — ( libNtve_gf_SetDialogItemUnitGroup ) - [F] —
void
— Set Dialog Item PlayerId — ( libNtve_gf_SetDialogItemPlayerId ) - [F] —
void
— Set Dialog Item Score Value Link — ( libNtve_gf_SetDialogItemScoreValueLink ) - [F] —
void
— Set Dialog Item State Index — ( libNtve_gf_SetDialogItemStateIndex )
# Examples
# campaigns/swarmstory.sc2campaign
// 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
// 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
// L8284
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// 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
// 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
// L1134
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
# mods/missionpacks/campaigncommon.sc2mod
// L4249
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L3312
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L3315
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L3318
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
# mods/novastoryassets.sc2mod
// 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
// L5380
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
# mods/starcoop/starcoop.sc2mod
// L2738
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L2741
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
// L2744
libNtve_gf_SetDialogItemAcceptMouse(DialogControlLastCreated(), true, PlayerGroupAll())
# mods/voidprologue.sc2mod
// 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
// L1020
libNtve_gf_SetDialogItemAcceptMouse(libGAwX_gv_warningText, false, PlayerGroupAll())
# mods/warcoop/warmeleeai.sc2mod
// L173
libNtve_gf_SetDialogItemAcceptMouse(libW3AI_gv_warningframe, true, PlayerGroupAll())