VE Lua Documentation

Press F to search!

updateButtons

Definition


-- @/lua/vehicle/extensions/ui/simplePowertrainControl.lua:12

local function updateButtons()
  powertrain.updateSimpleControlButtons()
  controller.updateSimpleControlButtons()
end

Callers

@/lua/ge/extensions/flowgraph/nodes/ui/updatedUI/endScreenBegin.lua
  self.options = {}
  self:updateButtons()
end
  if reason then
    self:updateButtons()
  end

function C:updateButtons()
  local flowLinks = {}
  self.options = nodeData.options or {}
  self:updateButtons()
end
@/lua/ge/extensions/flowgraph/nodes/ui/endScreen.lua
  self.options = {'cont'}
  self:updateButtons()
  self:_setHardcodedDummyInputPin(self.pinInLocal.cont, "Continue")
  if reason then
    self:updateButtons()
  end

function C:updateButtons()
  local flowLinks = {}
  self.options = nodeData.options or {}
  self:updateButtons()
end
@/lua/ge/extensions/flowgraph/nodes/ui/updatedUI/endScreenWhole.lua
  self.options = {}
  self:updateButtons()
end
  if reason then
    self:updateButtons()
  end

function C:updateButtons()
  local flowLinks = {}
  self.options = nodeData.options or {}
  self:updateButtons()
end
@/lua/ge/extensions/flowgraph/nodes/ui/missionEndScreen.lua
  self.options = {}
  self:updateButtons()
end
  if reason then
    self:updateButtons()
  end

function C:updateButtons()
  local flowLinks = {}
  self.options = nodeData.options or {}
  self:updateButtons()
end
@/lua/ge/extensions/flowgraph/nodes/gameplay/race/raceEndScreen.lua
  self.options = {'cont'}
  self:updateButtons()
  self:_setHardcodedDummyInputPin(self.pinInLocal.cont, "Continue")
  if reason then
    self:updateButtons()
  end

function C:updateButtons()
  local flowLinks = {}
  self.options = nodeData.options or {}
  self:updateButtons()
end
@/lua/ge/extensions/flowgraph/nodes/ui/selectButtons.lua
function C:postInit()
  self:updateButtons()
end
  if reason then
    self:updateButtons()
  end

function C:updateButtons()
  local flowLinks = {}
  self.options = nodeData.options or {"accept","decline"}
  self:updateButtons()
end
@/lua/ge/extensions/flowgraph/nodes/ui/imgui/imDialogue.lua
function C:postInit()
  self:updateButtons()
end
  if reason then
    self:updateButtons()
  end

function C:updateButtons()
  local flowLinks = {}
  self.options = nodeData.options or { "accept", "decline" }
  self:updateButtons()
end
@/ui/modules/apps/SimplePowertrainControl/app.js

        bngApi.activeObjectLua("extensions.ui_simplePowertrainControl.updateButtons()")
      }
          createSVG(data)
          bngApi.activeObjectLua("extensions.ui_simplePowertrainControl.updateButtons()")
        }
        reset()
        bngApi.activeObjectLua("extensions.ui_simplePowertrainControl.updateButtons()")
      })
        reset()
        bngApi.activeObjectLua("extensions.ui_simplePowertrainControl.updateButtons()")
      })