Modme Forums
Menu:

Give the Annihilator with a trigger

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


DasKuchenMann:

I have attempted, but I'm not quite sure what I'm doing :/

I just need a static trigger script to properly give players the Annihilator when they walk up and press F on it

I know how to do hint strings and stuff, just need the "give weapon script"

Any and all help is appreciated!


Harry Bo21:

I have attempted, but I'm not quite sure what I'm doing :/

I just need a static trigger script to properly give players the Annihilator when they walk up and press F on it

I know how to do hint strings and stuff, just need the "give weapon script"

Any and all help is appreciated!
player zm_weapons::weapon_give( getWeapon( “hero_annihilator” ) );

Infact you’ll find a function for giving the specialist weapons in zm_weapons.gsc

They use it for the box

Think it’s

Zm_weapons::give_hero_weapon

It’s either there or in zm_magicbox.gsc I forget where exactly