Title: Using "IsPlayerTagSkill" in a script
Trying to make a script to be inserted into a quest which will determine which tag skills the player is using and assign perks for said tagged skills.
I havent scripted since Fallout 3 was barely a few months old and frankly I need some kind scripter's help :foodndrink:
Below is an example of what I did. Just a simple add perk scripting. but I know I am forgetting my conditionals. I know "elseif" is not appropriate but I can't remember how to script AND =P Also, I can't seem to get "IsPlayerTagSkill" to work.
Please help and thanks in advance.
scn TagBonus Begin GameMode if player.IsPlayerTagSkill Barter player.AddPerk TagBarter end if if player.IsPlayerTagSkill EnergyWeapons player.AddPerk TagEnergy end if if player.IsPlayerTagSkill Explosives player.AddPerk TagExplosives end if if player.IsPlayerTagSkill Guns player.AddPerk TagGuns end if if player.IsPlayerTagSkill Lockpick player.AddPerk TagLockpick end if if player.IsPlayerTagSkill Medicine player.AddPerk TagMedicine end if if player.IsPlayerTagSkill MeleeWeapons player.AddPerk TagMelee end if if player.IsPlayerTagSkill Repair player.AddPerk TagRepair end if if player.IsPlayerTagSkill Science player.AddPerk TagScience end if if player.IsPlayerTagSkill Sneak player.AddPerk TagSneak end if if player.IsPlayerTagSkill Speech player.AddPerk TagSpeech end if if player.IsPlayerTagSkill Survival player.AddPerk TagSurvival end if if player.IsPlayerTagSkill Unarmed player.AddPerk TagUnarmed end if End
