From 1e71f8d43c8ad1c1e988c29119914e98a8b3a031 Mon Sep 17 00:00:00 2001 From: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Mon, 29 Nov 2021 22:33:12 -0500 Subject: [PATCH] Updated Lua Scripting (markdown) --- Lua-Scripting.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lua-Scripting.md b/Lua-Scripting.md index d1042b02..f52ad690 100644 --- a/Lua-Scripting.md +++ b/Lua-Scripting.md @@ -53,6 +53,11 @@ different people, also useful while Lua script editing is available only in TS. ### `stopEngine` +### `setSparkSkipRatio` + +setSparkSkipRatio(0) to skip 0% of the ignition events, i.e. no skipping +setSparkSkipRatio(0.5) would skip half of ignition events. We never skip two consecutive ignitions. + ### `setTimingAdd(angle)` todo add details but ready to test!