Game Modding | Call of Duty: Black Ops 3 | Scripting
eDeK:
How can i give a weapon instantly, without play the animations ( "pull in " and "pull out" )?
Spiki:
prob giveweapon() then
<player> SwitchToWeaponImmediate([weapon object])
eDeK:
Im using this with the minigun powerup, but where i need to put this?
in...
_zm_powerup_weapon_minigun.gsc
zm_powerups::weapon_powerup( ent_player, time, "minigun", true );
ent_player SwitchToWeaponImmediate( level.zombie_powerup_weapon[ "minigun" ] );
_zm_powerups.gsc
// give player the powerup weapon
ent_player GiveWeapon( level.zombie_powerup_weapon[ str_weapon ] );
ent_player SwitchToWeaponImmediate( level.zombie_powerup_weapon[ str_weapon ] );
Harry Bo21:
Immediate doesn’t work believe me
You can’t skip raises
That function is from bo2 and doesn’t work like the api said, think it’s only for swapping to alt weapons or something
Harry Bo21:
On waw I did the shield by literally leaving “empty” pullout and put away empty and taking the ammo instantly
eDeK:
Dont exist some "DVAR" to increase the speed for "swapping or switching" weapons?
like...
perk_weapSwitchMultiplier
Percentage of weapon switching rate to use