Spoiler
Scriptname AutoQuickShotPerk extends ObjectReference spell property crossbowSpell auto ; Fix idea from RolandSirPerk Property QuickshotPerk autoInt PlayerHasPerk = 0 Event OnEquipped(Actor akActor)akActor.addSpell(crossbowSpell,false) if (akActor == Game.GetPlayer() && Game.GetPlayer().HasPerk(QuickshotPerk))PlayerHasPerk = 1Game.GetPlayer().RemovePerk(QuickshotPerk)endifendEvent Event OnUnequipped(Actor akActor)akActor.removeSpell(crossbowSpell) if (akActor == Game.GetPlayer() && PlayerHasPerk == 1)Game.GetPlayer().AddPerk(QuickshotPerk)endifendEvent
I was looking at this script and I might misunderstand what it's doing. It seems like it adds a perk if you don't have it. Then when the weapon is unequipped it removes the perk. So what If I chose the perk in the perk tree. Won't it remove that perk after I switch to another weapon. If I spent a Perk Point after leveling to obtain it normally I don't want the perk removed. I don't want to have to keep just that one weapon equipped.