# Set Dialog Item Render Priority
Grammar — Set dialogItem Render Priority to renderPriority for players
Flags —Action
Sets the render priority for the specified dialog item, which controls the z order that dialog items are rendered. The default render priority is 512. Setting a render priority lower than this means this dialog item should render below other dialog items within the same dialog. Setting a render priority higher than this means the dialog item should render above other dialog items within the same dialog.
# Arguments
int
[ control ] — Dialog Itemint
— Render Priorityplayergroup
— Players
Returns — void
void libNtve_gf_SetDialogItemRenderPriority(
int lp_dialogItem,
int lp_renderPriority,
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
// L2911
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 511, PlayerGroupAll())
// L2945
libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 510, PlayerGroupAll())
// L3215
libNtve_gf_SetDialogItemRenderPriority(libSwaC_gv_zS_SwarmHeroUIDialogEnergyBarBackground[lp_index], 510, PlayerGroupAll())
// L3216
libNtve_gf_SetDialogItemRenderPriority(libSwaC_gv_zS_SwarmHeroUIDialogHealthBarBackground[lp_index], 510, PlayerGroupAll())
// L18195
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 511, PlayerGroupAll())
# campaigns/void.sc2campaign
// L1516
libNtve_gf_SetDialogItemRenderPriority(gv_overloadTempleFlashingButton, 513, PlayerGroupAll())
// L1516
libNtve_gf_SetDialogItemRenderPriority(gv_overloadTempleFlashingButton, 513, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// L8288
libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 1, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// L3512
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 507, PlayerGroupAll())
// L3804
libNtve_gf_SetDialogItemRenderPriority(libVCUI_gv_pU_VoidHeroUIDialogEnergyBarBackground[lp_index], 505, PlayerGroupAll())
// L3805
libNtve_gf_SetDialogItemRenderPriority(libVCUI_gv_pU_VoidHeroUIDialogHealthBarBackground[lp_index], 505, PlayerGroupAll())
// L3807
libNtve_gf_SetDialogItemRenderPriority(libVCUI_gv_pU_VoidHeroUIDialogShieldBarBackground[lp_index], 505, PlayerGroupAll())
// L3808
libNtve_gf_SetDialogItemRenderPriority(libVCUI_gv_pU_VoidHeroUIDialogShieldBarImage[lp_index], 507, PlayerGroupAll())
// L9705
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 506, PlayerGroupAll())
# mods/core.sc2mod
// L4823
libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 520, PlayerGroupAll())
// L4068
libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 520, PlayerGroupAll())
# mods/missionpacks/campaigncommon.sc2mod
// L4253
libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 1, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L3108
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 507, PlayerGroupAll())
// L3367
libNtve_gf_SetDialogItemRenderPriority(libNCUI_gv_NU_HeroDialogEnergyBarBackground[lp_index], 505, PlayerGroupAll())
// L3368
libNtve_gf_SetDialogItemRenderPriority(libNCUI_gv_NU_HeroDialogHealthBarBackground[lp_index], 505, PlayerGroupAll())
// L3369
libNtve_gf_SetDialogItemRenderPriority(libNCUI_gv_NU_HeroDialogShieldBarBackground[lp_index], 505, PlayerGroupAll())
// L3370
libNtve_gf_SetDialogItemRenderPriority(libNCUI_gv_nU_HeroDialogShieldBarImage[lp_index], 507, PlayerGroupAll())
// L6850
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 506, PlayerGroupAll())
# mods/starcoop/starcoop.sc2mod
// L5384
libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 1, PlayerGroupAll())
# mods/starcoop/starcoop.sc2mod
// L2480
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 507, PlayerGroupAll())
// L2795
libNtve_gf_SetDialogItemRenderPriority(libCOUI_gv_cU_HeroDialogEnergyBarBackground[lp_index], 505, PlayerGroupAll())
// L2796
libNtve_gf_SetDialogItemRenderPriority(libCOUI_gv_cU_HeroDialogHealthBarBackground[lp_index], 505, PlayerGroupAll())
// L2797
libNtve_gf_SetDialogItemRenderPriority(libCOUI_gv_cU_HeroDialogShieldBarImage[lp_index], 511, PlayerGroupAll())
// L2798
libNtve_gf_SetDialogItemRenderPriority(libCOUI_gv_cU_HeroDialogShieldBarBackground[lp_index], 510, PlayerGroupAll())
// L8134
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 506, lv_heroGroup)
# mods/voidprologue.sc2mod
// L1902
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 511, PlayerGroupAll())
// L1936
libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 510, PlayerGroupAll())
// L2165
libNtve_gf_SetDialogItemRenderPriority(libA3DDD02B_gv_pP_HeroUIDialogEnergyBarBackground[lp_index], 505, PlayerGroupAll())
// L2166
libNtve_gf_SetDialogItemRenderPriority(libA3DDD02B_gv_pP_HeroUIDialogHealthBarBackground[lp_index], 505, PlayerGroupAll())
// L2167
libNtve_gf_SetDialogItemRenderPriority(libA3DDD02B_gv_pP_HeroUIDialogShieldsBarBackground[lp_index], 505, PlayerGroupAll())
// L2168
libNtve_gf_SetDialogItemRenderPriority(libA3DDD02B_gv_pP_HeroUIDialogShieldsBarImage[lp_index], 507, PlayerGroupAll())
// L8582
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 506, PlayerGroupAll())
# mods/warcoop/warclassicsystem.sc2mod
// L1018
libNtve_gf_SetDialogItemRenderPriority(libGAwX_gv_warningText, 1512, PlayerGroupAll())