UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

my custom perks dont work immediately

broken avatar :(
Created 4 years ago
by PositiveGamerz
0 Members and 1 Guest are viewing this topic.
680 views
broken avatar :(
×
broken avatar :(
Location: usNotil
Date Registered: 1 January 2020
Last active: 9 months ago
Posts
16
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
PositiveGamerz's Contact & Social Links
So i'm pretty new to waw scripting/map making and i have watched some videos that show me how to make custom perks so i have added stamina and deadshot but they
dont activate immediately like if i buy it nothing happens unless i buy another perk (not sure if that made any sense) please help, thank you! (also if i dont reply quickly sorry)

this is my little script for stamina

    if( self hasperk("specialty_longersprint"))    {        self setMoveSpeedScale( 1.07 );        self SetClientDVar("perk_sprintMultiplier", "2");    }    else    {        self setMoveSpeedScale( 1 );        self SetClientDVar("perk_sprintMultiplier", "1");    }
Marked as best answer by PositiveGamerz 4 years ago
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 4 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
Signature
My published cod maps:

Subzero
Djinncaves
Enclosed (a.k.a baconcube)
Bayern
Snowblind
Furtrelock

Black Ops Perks: https://www.ugx-mods.com/forum/scripts/55/call-of-duty-world-at-war-black-ops-perks/22180/
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
So i'm pretty new to waw scripting/map making and i have watched some videos that show me how to make custom perks so i have added stamina and deadshot but they
dont activate immediately like if i buy it nothing happens unless i buy another perk (not sure if that made any sense) please help, thank you! (also if i dont reply quickly sorry)

this is my little script for stamina

    if( self hasperk("specialty_longersprint"))    {        self setMoveSpeedScale( 1.07 );        self SetClientDVar("perk_sprintMultiplier", "2");    }    else    {        self setMoveSpeedScale( 1 );        self SetClientDVar("perk_sprintMultiplier", "1");    }
I think you forget to set the perk but why paying so much time if the bo perks are already released:
https://www.ugx-mods.com/forum/scripts/55/map-add-on-4-black-ops-perks-update-available/2630/
broken avatar :(
×
broken avatar :(
Location: usNotil
Date Registered: 1 January 2020
Last active: 9 months ago
Posts
16
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
PositiveGamerz's Contact & Social Links
Sorry it took a bit to reply but i wanted to set myself with a challenge and see if i can set up some perks myself (or ask ppl for help)
broken avatar :(
×
broken avatar :(
Location: usNotil
Date Registered: 1 January 2020
Last active: 9 months ago
Posts
16
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
PositiveGamerz's Contact & Social Links
I think you forget to set the perk but why paying so much time if the bo perks are already released:
https://www.ugx-mods.com/forum/scripts/55/map-add-on-4-black-ops-perks-update-available/2630/
THANK YOU SO MUCH I HAVE BEEN STUCK ON THIS FOR DAYS :)

 
Loading ...