The setTimer native AI script function is used to set a timer with a specified delay time and start it.
()setTimer(DeltaTime: f, TimerId: f)
setTimer(200, 0);
In this example, the function setTimer
is called to set a timer with an ID of 0 and a delay of 200 ticks, meaning it will trigger the t0 timer event in 20 seconds.