diff options
Diffstat (limited to 'data/test.lua')
-rw-r--r-- | data/test.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/test.lua b/data/test.lua index e33f2de1..ad006a52 100644 --- a/data/test.lua +++ b/data/test.lua @@ -27,6 +27,17 @@ atinit(function() tmw.trigger_create(56 * 32, 32 * 32, 64, 64, "patrol_waypoint", 1, true) tmw.trigger_create(63 * 32, 32 * 32, 64, 64, "patrol_waypoint", 2, true) + schedule_every(5, function() + print("This is the schedule_every 5 seconds task") + end) + + schedule_in(25, function() + print("This is the schedule_in 25 seconds after map initialisation task") + schedule_in(7, function() + print("This task was scheduled 7 seconds ago by the other schedule_in task") + end) + end) + end) |