# Flash Screen Button

Grammar — Flash screen button screenButtonID|ID from color1 to color2 every flashTime seconds
FlagsAction

Causes a screen button to change between two colors at the specified interval.

# Arguments

  • int — ScreenButtonID
  • fixed — FlashTime
  • color — Color1
  • color — Color2

Returns — void

void libNtve_gf_FlashScreenButton(
	int lp_screenButtonID,
	fixed lp_flashTime,
	color lp_color1,
	color lp_color2,
);

Category: Dialog / Screen Button

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

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

LibChal.galaxy

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