# Wait For Timer

Grammar — Wait for timer to have time seconds waitType|Elapsed/Remaining
FlagsAction

Pauses a trigger until the chosen Timer has reached a certain point. This point is set by using the Time parameter, and the WaitType parameter.

# Arguments

Returns — void

void libNtve_gf_WaitForTimer(
	timer lp_timer,
	fixed lp_time,
	bool lp_waitType,
);

Category: General / Waits

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L1471
libNtve_gf_WaitForTimer(lv_infestationTimer, 60.0, true)
// L1786
libNtve_gf_WaitForTimer(gv_nextTrainTimer, 0.0, false)
// L866
libNtve_gf_WaitForTimer(lv_periodTimer, 0.0, false)
// L1435
libNtve_gf_WaitForTimer(lv_recycleDelay, 0.0, false)
// L1561
libNtve_gf_WaitForTimer(gv_dropPodTimer, 115.0, true)
// L1566
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true)
// L1574
libNtve_gf_WaitForTimer(gv_dropPodTimer, 120.0, true)
// L1578
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true)
// L1586
libNtve_gf_WaitForTimer(gv_dropPodTimer, 120.0, true)
// L1599
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true)
// L1615
libNtve_gf_WaitForTimer(gv_dropPodTimer, 20.0, true)
// L1519
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea01, 15.0, false)
// L1522
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea01, 0.0, false)
// L1587
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea02, 15.0, false)
// L1590
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea02, 0.0, false)
// L1655
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea03, 15.0, false)
// L1658
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea03, 0.0, false)
// L1723
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea04, 15.0, false)
// L1726
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea04, 0.0, false)
// L4185
libNtve_gf_WaitForTimer(gv_platformDelayTimer, 0.0, false)
// L1471
libNtve_gf_WaitForTimer(lv_infestationTimer, 60.0, true)
// L1786
libNtve_gf_WaitForTimer(gv_nextTrainTimer, 0.0, false)
// L866
libNtve_gf_WaitForTimer(lv_periodTimer, 0.0, false)
// L1435
libNtve_gf_WaitForTimer(lv_recycleDelay, 0.0, false)
// L1561
libNtve_gf_WaitForTimer(gv_dropPodTimer, 115.0, true)
// L1566
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true)
// L1574
libNtve_gf_WaitForTimer(gv_dropPodTimer, 120.0, true)
// L1578
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true)
// L1586
libNtve_gf_WaitForTimer(gv_dropPodTimer, 120.0, true)
// L1599
libNtve_gf_WaitForTimer(gv_dropPodTimer, 150.0, true)
// L1615
libNtve_gf_WaitForTimer(gv_dropPodTimer, 20.0, true)
// L1519
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea01, 15.0, false)
// L1522
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea01, 0.0, false)
// L1587
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea02, 15.0, false)
// L1590
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea02, 0.0, false)
// L1655
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea03, 15.0, false)
// L1658
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea03, 0.0, false)
// L1723
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea04, 15.0, false)
// L1726
libNtve_gf_WaitForTimer(gv_platformBlowsTimerArea04, 0.0, false)
// L4185
libNtve_gf_WaitForTimer(gv_platformDelayTimer, 0.0, false)
// L3261
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false)
// L3366
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false)
// L1609
libNtve_gf_WaitForTimer(gv_timedAttackTimer, 115.0, false)
// L1611
libNtve_gf_WaitForTimer(gv_timedAttackTimer, 70.0, false)
// L1613
libNtve_gf_WaitForTimer(gv_timedAttackTimer, 30.0, false)
// L4920
libNtve_gf_WaitForTimer(gv_s2_LockdownTimer, 45.0, false)
// L5474
libNtve_gf_WaitForTimer(gv_s2_LockdownTimer, 45.0, false)
// L6175
libNtve_gf_WaitForTimer(gv_s2_LockdownTimer, 45.0, false)
// L5568
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 300.0, false)
// L5570
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 190.0, false)
// L5572
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 100.0, false)
// L5574
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 90.0, false)
// L1730
libNtve_gf_WaitForTimer(lv_waitTimer, 90.0, false)
// L1732
libNtve_gf_WaitForTimer(lv_waitTimer, 45.0, false)
// L1734
libNtve_gf_WaitForTimer(lv_waitTimer, 0.0, false)
// L2930
libNtve_gf_WaitForTimer(lv_waitTimer, 90.0, false)
// L2935
libNtve_gf_WaitForTimer(lv_waitTimer, 80.0, false)
// L2937
libNtve_gf_WaitForTimer(lv_waitTimer, 70.0, false)
// L2939
libNtve_gf_WaitForTimer(lv_waitTimer, 60.0, false)
// L2941
libNtve_gf_WaitForTimer(lv_waitTimer, 50.0, false)
// L2943
libNtve_gf_WaitForTimer(lv_waitTimer, 40.0, false)
// L2945
libNtve_gf_WaitForTimer(lv_waitTimer, 32.0, false)
// L756
libNtve_gf_WaitForTimer(gv_cutsceneLoadingTimer, 0.0, false)
// L1708
libNtve_gf_WaitForTimer(gv_holdoutTimer, 750.0, false)
// L1710
libNtve_gf_WaitForTimer(gv_holdoutTimer, 474.0, false)
// L1712
libNtve_gf_WaitForTimer(gv_holdoutTimer, 375.0, false)
// L1714
libNtve_gf_WaitForTimer(gv_holdoutTimer, 290.0, false)
// L1716
libNtve_gf_WaitForTimer(gv_holdoutTimer, 230.0, false)
// L1718
libNtve_gf_WaitForTimer(gv_holdoutTimer, 215.0, false)
// L1720
libNtve_gf_WaitForTimer(gv_holdoutTimer, 60.0, false)
// L3261
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false)
// L3366
libNtve_gf_WaitForTimer(TimerLastStarted(), 0.0, false)
// L1609
libNtve_gf_WaitForTimer(gv_timedAttackTimer, 115.0, false)
// L1611
libNtve_gf_WaitForTimer(gv_timedAttackTimer, 70.0, false)
// L1613
libNtve_gf_WaitForTimer(gv_timedAttackTimer, 30.0, false)
// L4920
libNtve_gf_WaitForTimer(gv_s2_LockdownTimer, 45.0, false)
// L5474
libNtve_gf_WaitForTimer(gv_s2_LockdownTimer, 45.0, false)
// L6175
libNtve_gf_WaitForTimer(gv_s2_LockdownTimer, 45.0, false)
// L5568
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 300.0, false)
// L5570
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 190.0, false)
// L5572
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 100.0, false)
// L5574
libNtve_gf_WaitForTimer(gv_reinforcement_Timer, 90.0, false)
// L1730
libNtve_gf_WaitForTimer(lv_waitTimer, 90.0, false)
// L1732
libNtve_gf_WaitForTimer(lv_waitTimer, 45.0, false)
// L1734
libNtve_gf_WaitForTimer(lv_waitTimer, 0.0, false)
// L2930
libNtve_gf_WaitForTimer(lv_waitTimer, 90.0, false)
// L2935
libNtve_gf_WaitForTimer(lv_waitTimer, 80.0, false)
// L2937
libNtve_gf_WaitForTimer(lv_waitTimer, 70.0, false)
// L2939
libNtve_gf_WaitForTimer(lv_waitTimer, 60.0, false)
// L2941
libNtve_gf_WaitForTimer(lv_waitTimer, 50.0, false)
// L2943
libNtve_gf_WaitForTimer(lv_waitTimer, 40.0, false)
// L2945
libNtve_gf_WaitForTimer(lv_waitTimer, 32.0, false)
// L756
libNtve_gf_WaitForTimer(gv_cutsceneLoadingTimer, 0.0, false)
// L1708
libNtve_gf_WaitForTimer(gv_holdoutTimer, 750.0, false)
// L1710
libNtve_gf_WaitForTimer(gv_holdoutTimer, 474.0, false)
// L1712
libNtve_gf_WaitForTimer(gv_holdoutTimer, 375.0, false)
// L1714
libNtve_gf_WaitForTimer(gv_holdoutTimer, 290.0, false)
// L1716
libNtve_gf_WaitForTimer(gv_holdoutTimer, 230.0, false)
// L1718
libNtve_gf_WaitForTimer(gv_holdoutTimer, 215.0, false)
// L1720
libNtve_gf_WaitForTimer(gv_holdoutTimer, 60.0, false)