Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: AlecKeaneDUB on September 02, 2016, 03:43:39 am
Title: Where do i put the scripts for a custom perk?
Post by: AlecKeaneDUB on September 02, 2016, 03:43:39 am
I have a custom perk setup within _zombiemode_perks, but where exactly do I thread and script the function for the perk after you buy it? Can't figue it out and have been searching for hours :-\
Title: Re: Where do i put the scripts for a custom perk?
Post by: fanmagic on September 02, 2016, 01:56:55 pm
I have a custom perk setup within _zombiemode_perks, but where exactly do I thread and script the function for the perk after you buy it? Can't figue it out and have been searching for hours :-\
Thread this as a check for all players somewhere under maps\_zombiemode::main(); in your mapname.gsc like this:
Bamskater used this code for his perks. So you only have to change the effect for the player i.e. Stamin-Up: