• Welcome Guest, The new Modme forums are here! Please visit here for all recommended information.

How do you disable specific perks when using free perk bottle power up?

Zixology

Member
I don't have certain perk machines in my map (ex. Mule Kick) and I don't want them to be given to the player via free perk bottle. How do I take it out of the pool when the power up selects a random perk to give players?
 

eDeK

Active member
Maybe...
Code:
level._custom_perks = Array::remove_index(level._custom_perks, "specialty_armorvest", 1);
 
Top