GE Lua Documentation

Press F to search!

setVehicleProperty

Definition


-- @/lua/ge/ge_utils.lua:854

function setVehicleProperty(vid, propertyName, value)
  local sceneVehicle = scenetree.findObjectById(vid)
  if sceneVehicle then
    sceneVehicle[propertyName] = value
  end
end

Callers