Plugin category: MISC Suggested name: BeamCannon What I want: This is probably an odd request but the function would be quite simple. Basically a block of a specified ID (Gold Block), with a Sign attached to it formatted correctly and has an on Redstone signal, the block would create a beam of blocks beneath it of a specified ID (Wool) until reaching the ground or the first block the beam comes in contact with. The last block of the beam which is touching the block which it came in contact with would then explode with a configurable blast (8). After the explosion has occurred the Wool blocks would then disappear or be destroyed. The Cannon would most of time be used from very high up. I am not sure whether this is possible or not and would really just like someone to say whether it is or not. If it is I'll take crack at making it, but if someone else would like to try I'd much appreciate it. =) Ideas for commands: No commands needed for this Plugin. Ideas for permissions: player.BeamCannonUse When I'd like it by: Whenever if it's even possible
Yes It is totaly possible. I wrote VariableTriggers to allow people to make triggers to run scripts and anyone using VariableTriggers could make this themselves by creating a trigger and writting a script on the trigger. So if you write Java you can do this or with NO Java you can do this using VariableTriggers.
Can you really create something as complex as this with variable triggers? O_O I use it on my server, but I never realized that it has this many capabilities
Yes, its realy that powerfull. You just got to read docs aplay around with it to find out all that it can do. Go to YouTube and watch some of the VariableTriggers videos.
Thanks Heaps! I've been reading all about Variable Triggers this morning and i must say it looks amazing. I have a question though, is it possible for a trigger to get a location relative to where the trigger was placed? E.G. Creating a trigger on a block would get the location below the block the trigger was created on. It doesn't matter if you cant, just thought it would be useful to easily move the cannon. Thanks again!
OK, so I have the trigger sorted however the only way I can think of creating the beam so that it doesn't keep going once it comes in contact with something requires a very large script. May I ask how you would create the beam of blocks? Also I see that in Script Commands, the @Explosion command says that it can only be a value between 0.0 and 4.0. Is there any way to increase that number? Or is that locked?
As for the beam just do a @LOOP and test if next block is 0:0 (air) if so put block if not don't put block. There is no @BreaK command yet so just set a max loop of the most you want. @EXPOSION is locked at 0.0 to 4.0, 4.0 being the max but you can do @EXPLOSION 3 or 4 times to make it stronger.
Well, after many attempts I cannot get it too work (Mainly the beam). If anyone else would like to have a go, I would appreciate it very very much. Thanks!
Making the beam continue down once the first block has been placed. Edit: Sorry I described that terribly, I was in a hurry at the time. The problem I ran into was that I could not get the blocks to create in sequence, or sometimes at all. Most of the time once the first beam block had been placed the beam would not continue. There would only be the one block created. Another problem (I tried different scripts) was that the beam blocks would overwrite dirt or any other block that got in its way. I'm 78% sure that I would be able to get it working eventually, but i have limited time to work on it and I need it very soon. So if anyone else could create the script or any part of it (mainly the beam as described in the OP) I would greatly appreciate it! Thanks.
Just curious as to whether anyone has had any luck making the script, I am hoping to use it this weekend but haven't had any time to work on it this week. Thanks!
Your best bet it to post on the VariableTriggers forum for help. There are plenty of users and someone may help you out with this. If no one helps and I get the time I'll help you through this.