GE Lua Documentation

Press F to search!

onAddWaypoint

Definition


-- @/lua/ge/map.lua:3503

-- TODO: please fix these functions, so users can interactively add/remove/modify the waypoints in the editor and directly see changes.
local function onAddWaypoint(wp)
  --print("waypoint added: " .. tostring(wp))
  if isEditorEnabled then
    delayedLoad:callAfter(0.5, loadMap)
  end
end

Callers