Wiki/Guides/Lua

From Stormworks: Build and Rescue Wiki
< Wiki‎ | Guides
Jump to: navigation, search

This article is a stub. You can help Stormworks: Build and Rescue Wiki by expanding it.

Lua   [ edit page ]



Subpages

Do you think a subpage is missing?


Lua is used in script components. It can read and write composite data, so it can do the same stuff other logic components can do, but in a programatic way.

It can also draw stuff on a monitor or over a camera feed.


If you need more assistance or have more questions, you can always join the Official Stormworks Discord and ask your questions in the #lua channel.

Please choose which kind of user you are


Tools to program Lua scripts

In case you already know a little bit, or watched one of those tutorials, you can use this website to program scripts.

https://lua.flaffipony.rocks

Advantages compared to the original editor in game

  • undo/redo function
  • autocompletion
  • debug scripts with print()
  • zooming
  • simulate inputs and properties
  • minifier
  • UI Builder
  • share scripts with other people

Lua Video Tutorial