Tnt
#1
Tnt v1
This is my first script for this software
How to use
All it does at this point is make tnt do something, i do know it is not perfect but i am working on it.
Bugs:
  • It wont kill the player when it blows
  • It does not give any drops
  • It only works when you place tnt, there is no way of me adding this t'ill i know how to use the delete function
  • If you place the tnt right next to a cactus it crash's the server, idk why this is
If you see any bugs that i don't have please tell me
Planned features:
  • Making it kill the player(or add damage)
  • Making tnt blow other tnt
Change log:
v2:
  • added a command to turn tnt on or off
  • added a command to turn random tnt mode on or off
Also if you know how to use the delete function, please tell meBig Grin



Attached Files
.lua   Tnt3.lua (Size: 3.15 KB / Downloads: 352)
Reply
Thanks given by:
#2
Just an idea, you might want to check out how this would work using recursion to let TNT set of other TNT.

Create a function that loops over the area like you do, but if it hits a block that is TNT, call the function again using new starting position.

I can do this if you don't want to or don't know how.


Also, OnBlockDig works the exact same as OnBlockPlace.
Reply
Thanks given by:
#3
Want to recreate TNT? Read this Smile
http://www.minecraftwiki.net/wiki/Explosion
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)