Alright so any perk you buy you will lose upon death, but any perks obtained from a drop you will keep when revived? So obviously It's something wrong with the script seems alright to me but I could be missing something,
You need to do a check to see if a player is dead and then take the perks when he dies.
How would I do that? Thing Is this script worked a few days ago I didn't change anything with It now It doesn't take perks when downed, but If the player were to buy the perk from the perk machine and go down then he would lose the perk
How would I do that? Thing Is this script worked a few days ago I didn't change anything with It now It doesn't take perks when downed, but If the player were to buy the perk from the perk machine and go down then he would lose the perk
Do you mean like when the game is started? For instance the player dies and the game restarts? If so make sure at the beginning of the game you are setting the initial values for what you are changing your perks with. That way they will be reset.
Do you mean like when the game is started? For instance the player dies and the game restarts? If so make sure at the beginning of the game you are setting the initial values for what you are changing your perks with. That way they will be reset.
You don't die at the start but at any point of the game If the player has a perk from a drop and goes down he keeps the perk, but perks bought from perk machines are lost on down Post Merge: January 19, 2014, 02:11:59 am