# 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
- Display Screen Button —
void
— libNtve_gf_DisplayScreenButton - Show/Hide Screen Button —
void
— libNtve_gf_HideScreenButton - Flash Screen Button —
void
— libNtve_gf_FlashScreenButton - Stop Flashing Screen Button —
void
— libNtve_gf_StopFlashingScreenButton - Set Screen Button Border Image —
void
— libNtve_gf_SetScreenButtonBorderImage - Set Screen Button Flashing Border Image —
void
— libNtve_gf_SetScreenButtonFlashingBorderImage - Screen Button Dialog —
int
<dialog> — libNtve_gf_ScreenButtonDialog - Screen Button —
int
<control> — libNtve_gf_ScreenButton
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:578
libNtve_gf_SetDialogItemImage2(libNtve_gf_ScreenButton(lp_screenButtonID), "Assets\\Textures\\ui_button_generic_normaloverpressedover_terran.dds", PlayerGroupAll());
libNtve_gf_SetScreenButtonBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_button_generic_normalpressed_terran.dds", "Assets\\Textures\\ui_button_generic_normaloverpressedover_terran.dds", c_triggerImageTypeBorder);
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_button_generic_anim_terran.dds", "Assets\\Textures\\ui_button_generic_normalpressed_terran.dds", c_triggerImageTypeBorder);
libNtve_gf_SetDialogItemStyle(libNtve_gf_ScreenButton(lp_screenButtonID), "TutorialReplyButtonText", PlayerGroupAll());
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:578
libNtve_gf_SetDialogItemImage2(libNtve_gf_ScreenButton(lp_screenButtonID), "Assets\\Textures\\ui_button_generic_normaloverpressedover_terran.dds", PlayerGroupAll());
libNtve_gf_SetScreenButtonBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_button_generic_normalpressed_terran.dds", "Assets\\Textures\\ui_button_generic_normaloverpressedover_terran.dds", c_triggerImageTypeBorder);
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_button_generic_anim_terran.dds", "Assets\\Textures\\ui_button_generic_normalpressed_terran.dds", c_triggerImageTypeBorder);
libNtve_gf_SetDialogItemStyle(libNtve_gf_ScreenButton(lp_screenButtonID), "TutorialReplyButtonText", PlayerGroupAll());
}
mods/challenges.sc2mod — base.sc2data/LibChal.galaxy:282
libNtve_gf_SetDialogItemStyle(libNtve_gf_ScreenButton(lp_screenButtonID), "ChallengeReadyButtonProtoss", PlayerGroupAll());
libNtve_gf_SetScreenButtonBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_normalpressed_protoss.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover_protoss.dds", c_triggerImageTypeEndCap);
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_animr_protoss.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover_protoss.dds", c_triggerImageTypeEndCap);
libNtve_gf_FlashScreenButton(lp_screenButtonID, 3.0, ColorWithAlpha(16.08, 16.08, 99.61, 74.90), ColorWithAlpha(0.00, 0.00, 0.00, 0.00));
}
mods/challenges.sc2mod — base.sc2data/LibChal.galaxy:289
libNtve_gf_SetDialogItemStyle(libNtve_gf_ScreenButton(lp_screenButtonID), "ChallengeReadyButtonTerran", PlayerGroupAll());
libNtve_gf_SetScreenButtonBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_normalpressed.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover.dds", c_triggerImageTypeEndCap);
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_anim.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover.dds", c_triggerImageTypeEndCap);
libNtve_gf_FlashScreenButton(lp_screenButtonID, 3.0, ColorWithAlpha(0.00, 68.24, 0.00, 74.51), ColorWithAlpha(0.00, 0.00, 0.00, 0.00));
}
mods/challenges.sc2mod — base.sc2data/LibChal.galaxy:296
libNtve_gf_SetDialogItemStyle(libNtve_gf_ScreenButton(lp_screenButtonID), "ChallengeReadyButtonZerg", PlayerGroupAll());
libNtve_gf_SetScreenButtonBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_normalpressed_zerg.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover_zerg.dds", c_triggerImageTypeEndCap);
libNtve_gf_SetScreenButtonFlashingBorderImage(lp_screenButtonID, "Assets\\Textures\\ui_mission_hackingbuttonglow_anim_zerg.dds", "Assets\\Textures\\ui_mission_hackingbuttonglow_normaloverpressedover_zerg.dds", c_triggerImageTypeEndCap);
libNtve_gf_FlashScreenButton(lp_screenButtonID, 3.0, ColorWithAlpha(99.22, 52.55, 0.78, 74.51), ColorWithAlpha(0.00, 0.00, 0.00, 0.00));
}