# Set Screen Button Flashing Border Image
Grammar — Set screen button screenButtonID|ID flashing border image to borderImage and hover image to hoverImage with border type borderType|Border type
Flags —Action
Sets the border image for a screen button for when it is flashing.
# Arguments
int
— ScreenButtonIDstring
[ filepath ] — BorderImagestring
[ filepath ] — HoverImageint
[ preset::ImageType ] — BorderType
Returns — void
void libNtve_gf_SetScreenButtonFlashingBorderImage(
int lp_screenButtonID,
string lp_borderImage,
string lp_hoverImage,
int lp_borderType,
);
# Related
Category: Dialog / Screen Button
- [F] —
void
— Display Screen Button — ( libNtve_gf_DisplayScreenButton ) - [F] —
void
— Show/Hide Screen Button — ( libNtve_gf_HideScreenButton ) - [F] —
void
— Flash Screen Button — ( libNtve_gf_FlashScreenButton ) - [F] —
void
— Stop Flashing Screen Button — ( libNtve_gf_StopFlashingScreenButton ) - [F] —
void
— Set Screen Button Border Image — ( libNtve_gf_SetScreenButtonBorderImage ) - [F] —
void
— Set Screen Button Flashing Border Image — ( libNtve_gf_SetScreenButtonFlashingBorderImage ) - [F] —
int
[ dialog ] — Screen Button Dialog — ( libNtve_gf_ScreenButtonDialog ) - [F] —
int
[ control ] — Screen Button — ( libNtve_gf_ScreenButton )
# Examples
# campaigns/liberty.sc2campaign
// L578
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_button_generic_anim_terran.dds", "Assets\\Textures\\ui_button_generic_normalpressed_terran.dds", c_triggerImageTypeBorder)
// L578
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_button_generic_anim_terran.dds", "Assets\\Textures\\ui_button_generic_normalpressed_terran.dds", c_triggerImageTypeBorder)
# mods/challenges.sc2mod
// L282
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_animr_protoss.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover_protoss.dds", c_triggerImageTypeEndCap)
// L289
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_anim.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover.dds", c_triggerImageTypeEndCap)
// L296
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_anim_zerg.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover_zerg.dds", c_triggerImageTypeEndCap)