Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: AvidPenguin
Hey guys!
I'm trying to add something to my map where a free perk is given to you if you shoot 3 teddy bears around the map. The shooting script works 100% fine, apart from the part where I'm supposed to get the perk.
I've also tried with other perks, just to make sure. There's a print line above this line which triggers at the correct time, so it's definitely an issue with this line. I feel like there's a lot more to it, but who knows?
Cheers
ModmeBot:
Reply By: WARDOGSK93
add the folliwng under your #using's if its not already there
then where you have "electric_cherry_perk" rpleace that with PERK_ELECTRIC_CHERRY (go inside of _zm_perks.gsh to see all the perk names)
Just to to note PHD, Whos Who, tombstone and Vulture Aid wont work unless you have a custom script for them
PERK_JUGGERNOG
PERK_QUICK_REVIVE
PERK_SLEIGHT_OF_HAND
PERK_DOUBLETAP2
PERK_STAMINUP
PERK_PHDFLOPPER
PERK_DEAD_SHOT
PERK_ADDITIONAL_PRIMARY_WEAPON
PERK_ELECTRIC_CHERRY
PERK_TOMBSTONE
PERK_WHOSWHO
PERK_VULTUREAID
PERK_WIDOWS_WINE
ModmeBot:
Reply By: AvidPenguin
WARDOGSK93add the folliwng under your #using's if its not already there
then where you have "electric_cherry_perk" rpleace that with PERK_ELECTRIC_CHERRY (go inside of _zm_perks.gsh to see all the perk names)
Just to to note PHD, Whos Who, tombstone and Vulture Aid wont work unless you have a custom script for them
PERK_JUGGERNOG
PERK_QUICK_REVIVE
PERK_SLEIGHT_OF_HAND
PERK_DOUBLETAP2
PERK_STAMINUP
PERK_PHDFLOPPER
PERK_DEAD_SHOT
PERK_ADDITIONAL_PRIMARY_WEAPON
PERK_ELECTRIC_CHERRY
PERK_TOMBSTONE
PERK_WHOSWHO
PERK_VULTUREAID
PERK_WIDOWS_WINE