of     1   

Kisaru
#30949982Thursday, 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?
griffboy11
#30950292Thursday, August 05, 2010 8:57 PM GMT

Im not sure, but if it is, it would be MouseButton2Down
PureSight
#30951767Thursday, August 05, 2010 9:16 PM GMT

You can't, mousebutton2down is reserved for turning the camera. 2d script or not.
Matvei
#30955141Thursday, August 05, 2010 9:53 PM GMT

didnt they do that in the portal gun
hintboyright
#30955204Thursday, 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
Kisaru
#30955918Thursday, August 05, 2010 10:02 PM GMT

Sweet. Now I can make my guns left click to shoot and right click to melee.
scipiothegreat
#30956475Thursday, August 05, 2010 10:09 PM GMT

right click doesn't work

    of     1