you should use one timer for the map and an integer array which gets incremented every time the timer runs, if the timer runs 300 times per second and you want something done every 3 seconds for a specific unit and assuming your integer array always starts at 0 then whenever it equals 900 you should execute whatever action u want and then reset it to 0 again