Page 2 of 2

Re: Beacon essence script

Posted: Wed Jul 01, 2015 10:04 am
by Isaac
ian363 wrote:Thanks I'll give it a go for a future game but I've decided to be stubborn and use no scripts this time. I think I've become obsessed with making things work without them, yes madness. Thanks again Ian.
It's a fact that certain tasks are far less round-about, and generally easier, for being done in script. The editor itself writes a script (based on your map settings), called dungeon.lua. It's updated every time you save the map. Any script objects on the map get written into the dungeon.lua file.

Your future projects [after this one] will go a lot smoother with a determined understanding of how to script what you want, and it will greatly expand what is possible for you to devise in the game... so scripting is definitely not something to ignore for long.

** What's neat about reading the dungeon.lua file, is that you can see exactly how the editor scripts changes made in the UI.