VE Lua Documentation

Press F to search!

extinguishVehicle

Definition


-- @/lua/vehicle/fire.lua:453

local function extinguishVehicle()
  for cid, node in pairs(flammableNodes) do
    node.temperature = tEnv
    node.intensity = 0
    obj:addParticleByNodes(cid, centreNode, -1, 48, 0, 15)
  end
end

Callers

@/lua/ge/extensions/core/funstuff.lua

local function extinguishVehicle()
  getPlayerVehicle(0):queueLuaCommand("fire.extinguishVehicle()")
local function extinguishVehicle()
  getPlayerVehicle(0):queueLuaCommand("fire.extinguishVehicle()")
  return {"hide"}
@/ui/modules/apps/VehicleDebug/app.js
      '{{:: \'ui.apps.vehicleDebug.igniteNodeMin\' | translate}}' +
      '{{:: \'ui.apps.vehicleDebug.extinguishVehicle\' | translate}}' +
    '
',
        $scope.extinguishVehicle = function () {
            bngApi.activeObjectLua('fire.extinguishVehicle()')
        }
@/ui/ui-vue/mockdata/inputBindings.js
                "title": "ui.inputActions.gameplay.funExtinguish.title",
                "onDown": "fire.extinguishVehicle()",
                "order": 44,