nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 16 Sep 2011 09:44 PM |
Oddly, it isn't working, however, Button1Down does work;
Tool=Instance.new("Tool") Handle=Instance.new("Part",Tool) Handle.Name="Handle" Tool.Equipped:connect(function(mouse) Tool:remove() mouse.Icon="http://www.roblox.com/asset/?id=2966012" mouse.Button1Down:connect(function() print("mined part") end) mouse.Button2Down:connect(function() print("created part") end) end) Tool.Parent=script.Parent.Parent.Character
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 16 Sep 2011 10:18 PM |
Will you be using the new terrain generator for this? :o
Odd, the script looks fine to me :l |
|
|
| Report Abuse |
|
|
swmaniac
|
  |
| Joined: 28 Jun 2008 |
| Total Posts: 15773 |
|
|
| 16 Sep 2011 10:30 PM |
| They're locked I believe (or at least don't fire correctly). |
|
|
| Report Abuse |
|
|
|
| 16 Sep 2011 10:32 PM |
| this never worked since i even learned to script |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2011 12:20 AM |
| When DID you learn to script, above? 3 days ago? |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2011 12:21 AM |
| Oopsie, sorry, didn't know who you were, lawl, please excuse me D: |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Sep 2011 12:31 AM |
Dark, I'm actually creating my own perlin noise generator, and I have a formula on how to do it, or at least I hope.
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 17 Sep 2011 12:53 AM |
| button2down does not work with tools, I tried something like that before and someone told me it can't work. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 17 Sep 2011 02:10 AM |
| its because your saying it wrong. its Button2Down. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 17 Sep 2011 02:11 AM |
| lolfail, didn't read script. Hmm. mabye ROBLOX is thinking mouse button 2 is teh scroll button. |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 17 Sep 2011 03:02 AM |
| Because I tried it, and it works fine for scroller, but not mousebutton. Mabye trying Button3Down would work? |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 17 Sep 2011 06:14 AM |
| there is a Mouse thing plugin in roblox studio |
|
|
| Report Abuse |
|
|
Parthax
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 6941 |
|
| |
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
|
| 17 Sep 2011 07:42 AM |
| Take out the plugin with mouse icon. Press right mouse button and see Button2Down. |
|
|
| Report Abuse |
|
|
shred1894
|
  |
| Joined: 30 Aug 2009 |
| Total Posts: 6515 |
|
|
| 17 Sep 2011 07:46 AM |
| just because there is a connection does,'t mean a tool can use it. |
|
|
| Report Abuse |
|
|
Flurite
|
  |
| Joined: 03 Apr 2011 |
| Total Posts: 5386 |
|
|
| 17 Sep 2011 07:55 AM |
No, I believe it's what controls the camera position.
~Flurite, ROBLOX Wiki Writer |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
Flurite
|
  |
| Joined: 03 Apr 2011 |
| Total Posts: 5386 |
|
|
| 17 Sep 2011 08:07 AM |
Explain, please?
~Flurite, ROBLOX Wiki Writer |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 17 Sep 2011 08:08 AM |
| i know the 2nd mouse button controls camera position and rotation, but you can also use it in a tool. Check the Object Browser. |
|
|
| Report Abuse |
|
|
Flurite
|
  |
| Joined: 03 Apr 2011 |
| Total Posts: 5386 |
|
|
| 17 Sep 2011 08:09 AM |
I know the event exists, but the camera scrolling overrides it from what I believe.
~Flurite, ROBLOX Wiki Writer |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 17 Sep 2011 08:10 AM |
| Really, that never happens to me. |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 17 Sep 2011 08:12 AM |
Button2 is reserved for camera functions and you can't use it.
------------------------------------------------------------------------------------------------------------ROBLOX >>>>>>>> MC |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 17 Sep 2011 08:44 AM |
| You can use it Blockoo. I've used it before. And person above me agrees. |
|
|
| Report Abuse |
|
|