GE Lua Documentation

Press F to search!

checkVehicleProperty

Definition


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

function checkVehicleProperty(vid, propertyName, value)
  local sceneVehicle = scenetree.findObjectById(vid)
  return sceneVehicle and sceneVehicle[propertyName] == value
end

Callers