Afterwards connect a trigger (like a lever, pressure plate) to the script entity and choose the function to trigger. To trigger code:- Add a pressure_plate_hidden Select the plate Add a connector - connect it to your lua script entity Done. Place this somewhere on the map, then paste the code in th...
I think you want to test the little Hello World script from http://www.grimrock.net/modding/introduction-to-scripting/ , right ? -- hello world script function hello() print("Hello world!") end I think i can explain that code snippet: -- hello world script this first line is a comment, wh...
I'm totally sucks at scripting, and this question probably would be a most stupid question ever! Anyway,i've got a problem. Look at the preview window: http://cloud-2.steampowered.com/ugc/938129520101831860/BFB9F3D93F8D2B31419935774C3B8785592F55CA/ 100% i'm doing something wrong, but what? P.S. And ...