public static void setTerrainEditorMinSlope(float value) { TerrainEditor ETerrainEditor = "ETerrainEditor"; float val = ETerrainEditor.setSlopeLimitMinAngle(value); GuiTextEditCtrl SlopeMinAngle = ((GuiControl)"PaintBrushSlopeControl").findObjectByInternalName("SlopeMinAngle", true); SlopeMinAngle.setValue(omni.Util.mFloatLength(val, 1)); }