16 lines
444 B
Lua
16 lines
444 B
Lua
whosit.huds = whosit.huds or {}
|
|
local name = 'tour'
|
|
local player = core.get_player_by_name(name)
|
|
local meh = whosit.huds[name] or {}
|
|
whosit.huds[name] = meh
|
|
for k,v in pairs(yl_events.events) do
|
|
local p = v.pos
|
|
meh[p] = futil.EphemeralHud(player, {
|
|
hud_elem_type = "image_waypoint",
|
|
text = "bubble.png",
|
|
world_pos = p,
|
|
scale = { x = 1, y = 1 },
|
|
})
|
|
end
|
|
---yl_events.events[27].pos = vector.new(1964,10,1246)
|