SmokeyGum Posted October 21, 2015 Share Posted October 21, 2015 (edited) Ok, the Ghoul mask can trick feral ghouls because the faction is set to be allied with the ferals while wearing it.Let's say that I make a piece of armor that provides the ability to give the player a perk based on race and/or gender. For example: a special stealth suit that gives the player the "Light Step" perk while wearing it if the player is Asian. Or a special sexy sleepwear that gives only women the "Black Widow" perk while wearing it. I am pretty sure there would have to be a script that checks race and gender, but if someone could please provide me a sample of such a script I would highly appreciate it. Edited October 21, 2015 by SmokeyGum Link to comment Share on other sites More sharing options...
Ladez Posted October 22, 2015 Share Posted October 22, 2015 a special stealth suit that gives the player the "Light Step" perk while wearing it if the player is Asian. Begin OnEquip Player If GetPCIsRace Asian Player.AddPerk LightStep EndIf End Or a special sexy sleepwear that gives only women the "Black Widow" perk while wearing it. Begin OnEquip Player If GetPCIsSex Female Player.AddPerk BlackWidow EndIf End This should get you started. Remember you also have to remove the perk with an OnUnequip block. It can get a bit problematic, since these two perks exist and can be taken in the base game. You need to either do a check to see if the player already has the perk so it doesn't get accidentally removed, or make duplicate perks. Link to comment Share on other sites More sharing options...
Recommended Posts