# 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
FlagsAction

Sets the border image for a screen button for when it is flashing.

# Arguments

  • int — ScreenButtonID
  • string [ filepath ] — BorderImage
  • string [ filepath ] — HoverImage
  • int [ preset::ImageType ] — BorderType

Returns — void

void libNtve_gf_SetScreenButtonFlashingBorderImage(
	int lp_screenButtonID,
	string lp_borderImage,
	string lp_hoverImage,
	int lp_borderType,
);

Category: Dialog / Screen Button

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// 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

LibChal.galaxy

// 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)