menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Is it possible to use rightclick in a weapon?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Is it possible to use rightclick in a weapon?
Kisaru
Join Date: 2008-07-09
Post Count: 6378
#30949982
Thursday, August 05, 2010 8:53 PM GMT
My game is in first person so it doesn't make a difference. I just want to know if it's possible to adress a right click in a script, and if so, how?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
griffboy11
Join Date: 2008-08-17
Post Count: 754
#30950292
Thursday, August 05, 2010 8:57 PM GMT
Im not sure, but if it is, it would be MouseButton2Down
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
PureSight
Join Date: 2010-08-02
Post Count: 819
#30951767
Thursday, August 05, 2010 9:16 PM GMT
You can't, mousebutton2down is reserved for turning the camera. 2d script or not.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Matvei
Join Date: 2010-04-08
Post Count: 30
#30955141
Thursday, August 05, 2010 9:53 PM GMT
didnt they do that in the portal gun
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
hintboyright
Join Date: 2009-05-20
Post Count: 228
#30955204
Thursday, August 05, 2010 9:54 PM GMT
The wiki says it with one of the hopperbin/tool commands. MouseButton2Down is rightclick down. MouseButton2UP is after you relese right click
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kisaru
Join Date: 2008-07-09
Post Count: 6378
#30955918
Thursday, August 05, 2010 10:02 PM GMT
Sweet. Now I can make my guns left click to shoot and right click to melee.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
scipiothegreat
Join Date: 2008-04-25
Post Count: 4114
#30956475
Thursday, August 05, 2010 10:09 PM GMT
right click doesn't work
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right