10-19-2016, 10:53 PM
Use cWorld:ScheduleTask for that.
Something like this:
Something like this:
-- One second is 20 ticks local callback; callback = function(a_World) -- Spawn a mob -- Reschedule the callback again. a_World:ScheduleTask(20, callback) end world:ScheduleTask(20, callback)