VE Lua Documentation

Press F to search!

requestMap

Definition


-- @/lua/vehicle/mapmgr.lua:67

local function requestMap()
  obj:queueGameEngineLua(string.format('map.request(%s,%s)', objectId, mapBuildSerial))
end

Callers

@/lua/vehicle/ai.lua

      mapmgr.requestMap()
      M.updateGFX = updateGFX
@/lua/vehicle/controller/tech/roadsSensor.lua
      if initTimer < 1 then
        mapmgr.requestMap()
      end
@/lua/ge/extensions/flowgraph/modules/vehicleModule.lua
      veh:queueLuaCommand('mapmgr.enableTracking()')
      veh:queueLuaCommand('mapmgr.requestMap()')
    end