Modme Forums
Menu:

Changing a weapon’s stat for the player

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: Jacobsmob
I'm wondering if you are able to acquire a weapon and change its damage/reload time/speed inside the script. I've been trying to get the players knife(still don't know how) and change its damage for when certain things are met. I've tried to get the weapon then do weapon.damage or weapon[damage] but those work. Been searching for a while on wikis and forums but found nothing about how to do it.



I've seen it done before I think, with crusaders ail, but that could easily just be changing the weapon.



One more thing, how do you use: GetCurrentWeaponIncludingMelee();



Thanks for the help.



EDIT: Found out the weapon.damage and all that is read only so never mind. Kinda sucks but oh well.