Call of Duty: Black Ops 3 => General => Topic started by: kingneo on October 08, 2016, 05:28:28 pm
Title: Give Perk Through Easter Egg Help?
Post by: kingneo on October 08, 2016, 05:28:28 pm
Hi,
In my custom map I have three teddy bears that, when shot, give the player the electric cherry perk. I have the script mostly working for this thanks to Xylozi, but near the end of the script, I have the code However, I get an error when building/linking that says this: "^1ERR(6E) scripts/zm/zm_tutorial.gsc (155,1) : Compiler Internal Error : Unresolved external '_zm_perks::give_perk'"
Anyone know what's going on here? Thanks!
Title: Re: Give Perk Through Easter Egg Help?
Post by: reckfullies on October 08, 2016, 10:59:27 pm
Do you have _zm_perks.gsc included at the top of the file like this?:
also change it from _zm_perks:: to zm_perks::
Title: Re: Give Perk Through Easter Egg Help?
Post by: kingneo on October 08, 2016, 11:32:23 pm
Do you have _zm_perks.gsc included at the top of the file like this?:
also change it from _zm_perks:: to zm_perks::
Here, could you take a look at my code? Not quite sure what's wrong. Also, what code would I need to do in order to have it say, give the player the Ragnarok DG4's instead? My map's name is zm_tutorial, and this is in the zm_tutorial.gsc file.
Title: Re: Give Perk Through Easter Egg Help?
Post by: reckfullies on October 09, 2016, 02:08:37 am
Here, could you take a look at my code? Not quite sure what's wrong. Also, what code would I need to do in order to have it say, give the player the Ragnarok DG4's instead? My map's name is zm_tutorial, and this is in the zm_tutorial.gsc file.
I'm not sure you can currently give the player ragnarok dg4's in the beta.
Title: Re: Give Perk Through Easter Egg Help?
Post by: kingneo on October 09, 2016, 02:25:13 am
I'm not sure you can currently give the player ragnarok dg4's in the beta.
Okay cool, but can you see what I'm doing wrong in my code? Thanks for the help again man, really appreciate it, just really new to scirpting/the mod tools XD