Force out of Afterlife?
-
Hello, sorry for the spam in forums threads lol Anyways lets get down to business. I want to make it so on Mob of the Dead, players spawn in not in after life. I have some code that modifies points, weapons, etc and I dont want it to be given to the player while they are in Afterlife at the start. (Since if given they would not appear when revived). Again sorry for the amount of threads ive been making lol
-
Hello, sorry for the spam in forums threads lol Anyways lets get down to business. I want to make it so on Mob of the Dead, players spawn in not in after life. I have some code that modifies points, weapons, etc and I dont want it to be given to the player while they are in Afterlife at the start. (Since if given they would not appear when revived). Again sorry for the amount of threads ive been making lol
techboy04gaming This is a bit harder to do since I assume you don't want to completely disable the afterlife system. The script you will need to edit is this one: https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/zm_prison_patch/maps/mp/zm_alcatraz_classic.gsc
I think you would need to modify the give_afterlife function as its what puts players in afterlife at the beginning.
Alternatively, instead of disabling the afterlife start you could delay your code giving weapons and points until all players have revived themselves. I would recommend looking thru that script to see if there is a notify you could use to check if all players are out of afterlife. Either that or check if the round has started
level waittill( "start_of_round" );. -
JezuzLizard said in Force out of Afterlife?:
level waittill( "start_of_round" );
The start of round is actually alot better, thank you so much!
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