[Zombies] Don't lose perks when being revived
-
Does anyone know of any gsc events that inform when the player is revived by another in the middle of the round?
I managed to generate a script that gives perks to players when spawning, but not when it is revived, when that happens it loses all perks -
Does anyone know of any gsc events that inform when the player is revived by another in the middle of the round?
I managed to generate a script that gives perks to players when spawning, but not when it is revived, when that happens it loses all perks@peximaximum waittill( "player_revived" );
-
necropost? anyways im in need of a script that lets u keep perks after revive. Did you figure it out?
-
Does anyone know of any gsc events that inform when the player is revived by another in the middle of the round?
I managed to generate a script that gives perks to players when spawning, but not when it is revived, when that happens it loses all perks@peximaximum ]
-
In my Configuration Mod I added a new feature which should allow players to keep their perks when they are revived on most maps excluding MoTD since that map has custom revive logic.
-
In my Configuration Mod I added a new feature which should allow players to keep their perks when they are revived on most maps excluding MoTD since that map has custom revive logic.
JezuzLizard yea i tried it it didnt work. I added the init files from your mod to my files and specific things i wanted from the dedicated_zm files including playermaxhealth, playerretainperks, and deadshot accuracy, and none of those 3 worked. Everything else did though. (I even tried adding the playerretainperks into the main based on the playermaxhealth script
level.cmPlayerRetainPerks = getDvarIntDefault( "cmPlayerRetainPerks", 1 );
no work
-
JezuzLizard yea i tried it it didnt work. I added the init files from your mod to my files and specific things i wanted from the dedicated_zm files including playermaxhealth, playerretainperks, and deadshot accuracy, and none of those 3 worked. Everything else did though. (I even tried adding the playerretainperks into the main based on the playermaxhealth script
level.cmPlayerRetainPerks = getDvarIntDefault( "cmPlayerRetainPerks", 1 );
no work
@Hobo-Tim
Look at the decompiled : \maps\mp\zombies_zm_pers_upgrades_functions.gsc
In bo2 there's a perma perk that gives you the ability to keep perks even after you get downed. (but idk the name)
I think the function is pers_upgrade_perk_lose_restore
You could try to look there in my opinion and adapt the function to your project. -
I got keep all perks workin with cahz's help, but now i need the health settings to work. Player max health doesnt work, and i dont think the jugg health bonus works either.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login