VE Lua Documentation

Press F to search!

igniteNode

Definition


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

local function igniteNode(cid, temp)
  local node = flammableNodes[cid]
  if not node then
    return
  end
  node.temperature = temp or maxNodeTemp
end

Callers

@/lua/vehicle/fire.lua

  igniteNode(possibleNodes[random(#possibleNodes)])
end
    if not wheelNodes[cid] then --don't ignite wheelnodes right away to delay the tire popping a bit
      igniteNode(cid)
    end

    igniteNode(cid)
  end
@/ui/modules/apps/VehicleDebug/app.js
      '{{:: \'ui.apps.vehicleDebug.explodeVehicle\' | translate}}' +
      '{{:: \'ui.apps.vehicleDebug.igniteNode\' | translate}}' +
      '{{:: \'ui.apps.vehicleDebug.igniteNodeMin\' | translate}}' +