From db53f427e302bfc680cfd32315ebea5f9b2c2b9b Mon Sep 17 00:00:00 2001 From: Frank Date: Mon, 2 Oct 2023 17:02:21 +0200 Subject: [PATCH] Update Point.lua --- Moose Development/Moose/Navigation/Point.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Moose Development/Moose/Navigation/Point.lua b/Moose Development/Moose/Navigation/Point.lua index 770ef0a15..2ccfbf2dc 100644 --- a/Moose Development/Moose/Navigation/Point.lua +++ b/Moose Development/Moose/Navigation/Point.lua @@ -511,6 +511,17 @@ function NAVPOINT:SetAltMandatory(Altitude) return self end +--- Set minimum speed. +-- @param #NAVPOINT self +-- @param #number Speed Min speed in knots. +-- @return #NAVPOINT self +function NAVPOINT:SetSpeedMin(Speed) + + self.speedMin=Altitude + + return self +end + --- Set whether this fix is compulsory. -- @param #NAVPOINT self -- @param #boolean Compulsory If `true`, this is a compusory fix. If `false` or nil, it is non-compulsory.