client
MouseDown(object, location, control, params)
var/list/f=params2list(params)
if(in_suit)
if(f.Find("left"))
if(usr:MyArma.l_ammo>0)
usr:MyArma.l_ammo=max(0,usr:MyArma.l_ammo-1)
usr:MyArma.UpdAmmo(usr)
spawn(rand(1,3))
ArmaGat(object,mob)
if(f.Find("right"))
if(usr:MyArma.r_ammo>0)
usr:MyArma.r_ammo=max(0,usr:MyArma.r_ammo-1)
usr:MyArma.UpdAmmo(usr)
spawn(rand(1,3))
//ArmaMissile(object,mob)
MortarShot(object,mob)
else
if(mob.mortar_mode>0)
MortarShot(object,mob)
Problem description:
This code relates to a mech that is designed to shoot when the player clicks the left mouse button and to shoot a secondary attack upon clicking of the right mouse button, for some reason the right mouse button doesn't register at all.
Is there something special I need to do to enable right mouse clicks to work in this instance?
Issue
I'm assuming it was fixed in 510- and not 509 which I'm running.
However I'm not running games in web-client mode as this post suggests.