RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
<precision> definition, space sensitivity, cancatenat
Author Message
Reply with quote
Post <precision> definition, space sensitivity, cancatenat 
I had a few questions about the scripting that help me clarify the structure.

1. What exactly does <precision> do? And how do you determine what value of precision you choose?

2. Are spaces required in functions or mathematical equations? (1+2) vs. ( 1 + 2)...

3. If i have cancatenated messages that change wgat variables they define based on the first byte, how would I go about defining these variables in the script?

View user's profile Send private message Visit poster's website
Reply with quote
Post  
1) precision is the logged number of decimal places to report in the log file or over telemetry. 0 = log / broadcast whole numbers, 2 = two digits of precision (1.23) and so on.

2) spaces are not required. It's standard Lua syntax; so anything in the Lua syntax will work: https://www.lua.org/pil/1.html

3) I don't understand the question, sorry.

View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum