Okay, I register a timer that fires every 2 seconds to begin to spawn a bad guy.
timer.performWithDelay(timeOffset, spawnBox, 0)
Based on some logic inside spawnBox(), I want to call timer.cancel() and then immediately behind it call timer.performWithDelay(timeOffset-100, spawnBox, 0) but this second timer never starts up. What should I do to make it work right? Cancel one timer, immediately start another with a different delay. [import]uid: 75335 topic_id: 12329 reply_id: 312329[/import]
