UGX-Mods
Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: PositiveGamerz on February 13, 2020, 09:38:21 pm
-
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"); }
-
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/ (https://www.ugx-mods.com/forum/scripts/55/map-add-on-4-black-ops-perks-update-available/2630/)
-
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)
-
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/ (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 :)