Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
@IGotAShotgun you could add the following lines before the public void main thingy (so at the very top of your script) in order for the LCD screen to refresh automatically without the need of any timer block:
public Program() {
Runtime.UpdateFrequency = UpdateFrequency.Update10;
}
I've named my text panel "LCD Cargo Drill" and the cargo "Large Cargo Container Drill", I've set the names accordingly in the script, recompiled it, and added a timer block that runs the programmable block every 5 sec. I've also tried to trigger manually the blocks with no avail.
Nothing displays on the text panel except the "ONLINE" text.
The programmable block doesn't show any script error when running.
Any idea would be greatly appreciated.
ScreenWidth = Prefix length + opening bracket + bar segments + closing bracket
For 10 segments in the bar, that's:
ScreenWidth = Prefix length + 1 + 10 + 1
ScreenWidth = Prefix length + 12
If you aren't using a prefix, ScreenWidth=12 should give you 10 segments. To not use a prefix, change Prefix to "", or two double quotes with nothing between them.