Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
void UpdateConsoleFX()
{
string brake;
if (GetEngineParam("brake-cylinder-pressure") > 0.001396)
}
brake = "+";
SetMeshVisible("brake_cylinder_warn_light", true, 0.1f);
}
else
{
brake = "-";
SetMeshVisible("brake_cylinder_warn_light", false, 0.1f);
}
}
Code:void UpdateConsoleFX() { string brake; if (GetEngineParam("brake-cylinder-pressure") > 0.001396) } brake = "+"; SetMeshVisible("brake_cylinder_warn_light", true, 0.1f); } else { brake = "-"; SetMeshVisible("brake_cylinder_warn_light", false, 0.1f); } }
How would something like this be implemented in kind "interior" I know how to do all these FX scripts in traincar, but it's got errors in interior.
SetMeshVisible("brake_cylinder_warn_light", (loco.GetEngineParam("brake-cylinder-pressure") > 0.001396), 0.1f);
also i dont claim to know what your brake "-" and "+" string does but for simple toggle on or off indicators like this id usually just go with one line.
Code:SetMeshVisible("brake_cylinder_warn_light", (loco.GetEngineParam("brake-cylinder-pressure") > 0.001396), 0.1f);
I want to be a Star Ship engineer.
I'd love to make a diesel. I simply need to find one I want that hasn't been made, perhaps the SD24...
I'd love to make a diesel. I simply need to find one I want that hasn't been made, perhaps the SD24...