jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 16 Jul 2011 03:39 PM |
As in making them. I didn't want to post this in SH (they can barely help with Scripting, let alone Java), so I came here.
My question: How would you make lightning strike at a specific block? (I'm trying to make it so swinging with a slimeball in your inv casts lightning at the block you click at).
I know this is OT.. But not as much as it could be. It's only half a request, and is programming related. And before you flame me, look at all the other extremely basic request threads. >_> |
|
|
| Report Abuse |
|
|
rotflstar
|
  |
| Joined: 10 Oct 2009 |
| Total Posts: 2371 |
|
|
| 16 Jul 2011 03:47 PM |
| LightningStrike is an entity, not the lightning itself. you would need to check the source code of bukkit. that's all I know, I'm not very good with java :3, try decompileing and converting the class files back into .java files in essentials, it comes with a /lightning command. |
|
|
| Report Abuse |
|
|
bombpaw
|
  |
| Joined: 15 Mar 2009 |
| Total Posts: 3484 |
|
|
| 16 Jul 2011 04:14 PM |
| I only work with the innards, not the entities, Essentials released their source code some time ago, it contains a function that does this. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 04:15 PM |
What is Bukkit? I don't know what Bukkit is, but I guess it has something to do with Java.
_________________________________________________ Turtles are going to take over the world some day...
My account was terminated for spamming, but I do not remember spamming and the moderator didn't tell me what message I spammed (usually, they tell you what is the inappropriate message).
Unless I'm somehow unbanned, I guess this will be my new main. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 08:09 PM |
| Just a secret, most people here will help you if you're asking for help with any other language than Roblox Lua. So don't worry about not posting a Java question in Scripting Helpers :) |
|
|
| Report Abuse |
|
|
harryx
|
  |
| Joined: 25 Oct 2008 |
| Total Posts: 3209 |
|
|
| 16 Jul 2011 10:56 PM |
| I haven't done anything with server mods. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 11:01 PM |
| I have no clue, now thank me for the help and send me all your money. |
|
|
| Report Abuse |
|
|
Bubby4j
|
  |
| Joined: 25 Dec 2008 |
| Total Posts: 1831 |
|
|
| 16 Jul 2011 11:21 PM |
I'm a bukkit plugin dev.
You might wanna ask on the plugin devs on the bukkit site, it's full of plugin devs. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 16 Jul 2011 11:24 PM |
| @Bubby: Your bukkit site looks epic. |
|
|
| Report Abuse |
|
|
Bubby4j
|
  |
| Joined: 25 Dec 2008 |
| Total Posts: 1831 |
|
|
| 17 Jul 2011 06:03 PM |
@blocco I don't own a bukkit site. |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 17 Jul 2011 07:22 PM |
| Alright, I figured it out. ^_^ |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 07:25 PM |
cool, kbai
_________________________________________________ Turtles are going to take over the world some day... |
|
|
| Report Abuse |
|
|