Beacon essence script

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: Beacon essence script

Post 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.
Post Reply