# Flash Screen Button
Grammar — Flash screen button screenButtonID|ID from color1 to color2 every flashTime seconds
Flags —Action
Causes a screen button to change between two colors at the specified interval.
# Arguments
int
— ScreenButtonIDfixed
— FlashTimecolor
— Color1color
— Color2
Returns — void
void libNtve_gf_FlashScreenButton(
int lp_screenButtonID,
fixed lp_flashTime,
color lp_color1,
color lp_color2,
);
# 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
// L3041
libNtve_gf_FlashScreenButton(gv_computer01SecurityCam, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L3161
libNtve_gf_FlashScreenButton(gv_computer01DeactivateLeftFloorGuns, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L3166
libNtve_gf_FlashScreenButton(gv_computer01DeactivateRightFloorGuns, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L3940
libNtve_gf_FlashScreenButton(gv_computer02SecurityCam, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4030
libNtve_gf_FlashScreenButton(gv_computer02ReleaseZealots, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4050
libNtve_gf_FlashScreenButton(gv_computer02ReleaseZerg, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4070
libNtve_gf_FlashScreenButton(gv_computer02ReleaseUltras, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4764
libNtve_gf_FlashScreenButton(gv_computer04SecurityCam, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4837
libNtve_gf_FlashScreenButton(gv_computer04AddMissile, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4842
libNtve_gf_FlashScreenButton(gv_computer04AddNapalm, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L796
libNtve_gf_FlashScreenButton(gv_replay_Transmission_ButtonID_Main, 4.0, ColorWithAlpha(100.00, 64.71, 29.02, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L805
libNtve_gf_FlashScreenButton(gv_replay_Transmission_ButtonID_Tutorial, 4.0, ColorWithAlpha(100.00, 64.71, 29.02, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L1517
libNtve_gf_FlashScreenButton(gv_replay_Transmission_ButtonID_Main, 4.0, ColorWithAlpha(100.00, 64.71, 29.02, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L1218
libNtve_gf_FlashScreenButton(1, 2.0, ColorWithAlpha(0.00, 100.00, 100.00, 0.00), ColorWithAlpha(100.00, 100.00, 100.00, 0.00))
// L3041
libNtve_gf_FlashScreenButton(gv_computer01SecurityCam, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L3161
libNtve_gf_FlashScreenButton(gv_computer01DeactivateLeftFloorGuns, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L3166
libNtve_gf_FlashScreenButton(gv_computer01DeactivateRightFloorGuns, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L3940
libNtve_gf_FlashScreenButton(gv_computer02SecurityCam, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4030
libNtve_gf_FlashScreenButton(gv_computer02ReleaseZealots, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4050
libNtve_gf_FlashScreenButton(gv_computer02ReleaseZerg, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4070
libNtve_gf_FlashScreenButton(gv_computer02ReleaseUltras, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4764
libNtve_gf_FlashScreenButton(gv_computer04SecurityCam, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4837
libNtve_gf_FlashScreenButton(gv_computer04AddMissile, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L4842
libNtve_gf_FlashScreenButton(gv_computer04AddNapalm, 2.0, ColorWithAlpha(0.00, 0.00, 100.00, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L796
libNtve_gf_FlashScreenButton(gv_replay_Transmission_ButtonID_Main, 4.0, ColorWithAlpha(100.00, 64.71, 29.02, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L805
libNtve_gf_FlashScreenButton(gv_replay_Transmission_ButtonID_Tutorial, 4.0, ColorWithAlpha(100.00, 64.71, 29.02, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L1517
libNtve_gf_FlashScreenButton(gv_replay_Transmission_ButtonID_Main, 4.0, ColorWithAlpha(100.00, 64.71, 29.02, 0.00), ColorWithAlpha(0.00, 0.00, 0.00, 0.00))
// L1218
libNtve_gf_FlashScreenButton(1, 2.0, ColorWithAlpha(0.00, 100.00, 100.00, 0.00), ColorWithAlpha(100.00, 100.00, 100.00, 0.00))
// L2947
libNtve_gf_FlashScreenButton(1, 2.0, ColorWithAlpha(0.00, 100.00, 0.00, 0.00), ColorWithAlpha(100.00, 100.00, 100.00, 0.00))
// L2947
libNtve_gf_FlashScreenButton(1, 2.0, ColorWithAlpha(0.00, 100.00, 0.00, 0.00), ColorWithAlpha(100.00, 100.00, 100.00, 0.00))
# mods/challenges.sc2mod
// L283
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))
// L290
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))
// L297
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))