Tempermental timers
Posted: Fri Apr 09, 2010 9:55 pm
I think I scriped this timer correctly but it causes a crash without any relevant error, i'm sure this is it because the crash always happens 35 seconds after the objective starts.
anyone see anything wrong with this timer?
--timed ambush
flanked= CreateTimer("flanked1")
SetTimerValue(flanked1, 35)
StartTimer(flanked1)
OnTimerElapse(
Ambush("Flanked1", 35, 6),
function(timer)
DestroyTimer(flanked)
end,
flanked1
)
anyone see anything wrong with this timer?
--timed ambush
flanked= CreateTimer("flanked1")
SetTimerValue(flanked1, 35)
StartTimer(flanked1)
OnTimerElapse(
Ambush("Flanked1", 35, 6),
function(timer)
DestroyTimer(flanked)
end,
flanked1
)