i3/tests/test_waypoints.lua

13 lines
242 B
Lua
Raw Normal View History

2023-01-07 12:28:07 +01:00
core.after(5, function()
i3.add_waypoint("Test", {
player = "singleplayer",
pos = {x = 0, y = 2, z = 0},
color = 0xffff00,
-- image = "heart.png",
})
core.after(5, function()
i3.remove_waypoint("singleplayer", "Test")
end)
end)