GE Lua Documentation

Press F to search!

zoom

Definition


-- @/lua/ge/extensions/freeroam/bigMapMode.lua:967

local function zoom(value)
  local camMode = core_camera.getGlobalCameras().bigMap
  if camMode then
    camMode:zoom(value)
  end
end

Callers

@/lua/ge/extensions/freeroam/bigMapMode.lua
  if camMode then
    camMode:zoom(value)
  end
@/ui/ui-vue/mockdata/inputBindings.js
                "tags": ["tags.camera.fov_short", "tags.camera.fov_long"],
                "onChange": "if gameplay_garageMode then gameplay_garageMode.zoom(VALUE) end",
                "title": "garageMode.action.zoom.title",
                "title": "bigMap.action.zoom.title",
                "onChange": "if freeroam_bigMapMode then freeroam_bigMapMode.zoom(VALUE) end",
                "isCentered": true,
@/lua/ge/extensions/gameplay/garageMode.lua
local stopZooming = 0
local function zoom(value)
  if not active then return end
@/lua/ge/extensions/core/cameraModes/bigMap.lua
local zoomDirectionLastFrame = 0
function C:zoom(value)
  if value ~= 0 then