no matter what i wanna do with a weapon i can't ever figure out where the hell i'm supposed to put the friggin code... what i wanna do is make the shieldgun's primary fire become the altfire, but the altfire stay the same (so that it's not a shield 'gun' anymore, it's just a shield
)
what i gots:
i know it probably shouldn't be in modifyplayer, but i can't think of anywhere else to put it, perhaps gamerules? help please... could someone tell me where and what to do, then tell me why what i did wouldn't work. thanks bunches.

what i gots:
Code:
function ModifyPlayer(Pawn P) { local Weapon W; local xPawn x; x = xPawn(P); W = Weapon(P.FindInventoryType(class'ShieldGun')); W.FireModeClass[0] = class'XWeapons.ShieldAltFire'; }
Comment