-
Started 13th Dec 2011 in The Powder Toy/Lua scripting
What does "register_step" do? Does it add info to Windows Registry like when "registering a DLL file"? And how can you use random? Isn't randomness something tha...
-
Started 13th Dec 2011 in Feedback
I think you guys are missing the point. When I said "how to implement" I meant how the CODERS/DEVS of TPT can implement it (in other words this is a "feature suggestion", and of c...
-
Started 13th Dec 2011 in Feedback
Sorry about the typo in the title. just noticed it now. Currently menu 12 isn't assigned to anything (0=walls 1-9=normal elements, 10=life, 11=tools, 13 and 14 are disabled menus th...
-
Started 13th Dec 2011 in Help
Is there a way to attach files (like Lua scripts, zip files, etc) to posts on these forums?
-
Started 12th Dec 2011 in The Powder Toy/Lua scripting
I'd have some uses for generating some very interesting patterns using for loops, and bitwise operations to control the paticles created in a grid pattern using the current x and y coordinates.&...
-
Started 12th Dec 2011 in The Powder Toy/Lua scripting
I read online that default Lua doesn't have bitwise commands (and, or, xor), but I'm wondering if the version that used in TPT has the optional expansion pack I read about that DOES have bi...
-
Started 12th Dec 2011 in The Powder Toy/Lua scripting
Thanks. But now how do I write a "for" loop in the script. I tried for n = 1,10,1 do something here end but it says returns an error saying I ne...
-
Started 12th Dec 2011 in The Powder Toy/Lua scripting
I want to type a command that will run a Lua script file. Any Ideas?
-
Started 12th Dec 2011 in The Powder Toy/Lua scripting
jacksonmj:Not possible without modifying the source code. SC_TOTAL is the total number of menus, only menus with a value less than this can be made visible. Unless the source code is changed t...
-
Started 12th Dec 2011 in The Powder Toy/Lua scripting
via Lua? In interface.h I see the menus are define SC_WALL 0 define SC_ELEC 1 define SC_POWERED 2 define SC_EXPLOSIVE 3 define SC_GAS 4 define SC_LIQUID 5&nb...