Skip to content

Commit 84bf235

Browse files
committed
Lua instructions updated with recent changes
1 parent ee7c748 commit 84bf235

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua-instructions.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ There are three kinds of OpenTX persistent Lua scripts. Model scripts, Function
1717
- **Model scripts**
1818
A model script runs on a continuous basis once loaded into a model. As long as the model is selected, the script is running. You should never use a model script for calculating any sort of input that is vital to your model. Remember that scripts may be terminated at any time.
1919

20-
- **Function scripts (new in 2.0.3)**
20+
- **Function scripts (added in 2.0.3)**
2121
Scripts that can be called from the Special Functions screen. Much like the available firmware functions.
2222

23-
- **Telemetry scripts (planned for 2.0.4)**
23+
- **Telemetry scripts (added in 2.0.4)**
2424
Used for building customized telemetry screens. Theoretically it is possible to have up to 7 custom telemetry screens, all written in Lua. It is possible to use different scripts on a per model basis.
2525

2626
### One time scripts
@@ -31,12 +31,12 @@ Please note that all persistent scripts are halted during the execution of one t
3131
- **The model wizard script**
3232
This scripts adds a wizard function to the radio that provides guidance in setting up models. Once installed it is called automatically when a model is created.
3333

34-
- **Template scripts (planned for 2.0.5)**
34+
- **Template scripts (planned feature)**
3535
Functionality not yet described.
3636

3737

3838
### Folder structure
39-
The script folders have been reorganized in OpenTX 2.0.3. The folder structure looks like this:
39+
The script folders were reorganized in OpenTX 2.0.3. The folder structure in OpenTX 2.0.3 or later looks like this:
4040

4141
* /SCRIPTS/WIZARD/ - For the Wizard script
4242
* /SCRIPTS/MIXES/ - For model scripts

0 commit comments

Comments
 (0)