Hi guys! I'm creating a mod in lua and got stuck for hours trying to access engine thermals data and/or car damage data in my lua file. I get how to access electrics with electrics.values.<smth> but is there any way to get engine thermals data such as coolant leak of radiator or head gasket damage values in lua? Thanks for any help...
I can possibly help you can dump electrics and other things in the console such as: Code: dump(electrics) the mainEngine: Code: dump(powertrain.getDevice("mainEngine")) the vehicleController: Code: dump(controller.getController("vehicleController")) hopefully, with this information, you can get what you need if not I can continue searching --- Post updated --- I found something that might not be what you need but it is this: Code: damageTracker.getDamage("engine", "radiatorLeak") it returns a true or false if the radiator is leaking which means if it's damaged