Jump to content

Adding powers to player with scripts


gorignak

Recommended Posts

Okay been trying to find answers for a while in several different threads so Im making a new topic with this specific query,

 

How do I get custom abilities to automatically add to the player when they become a vampire?

 

in PlayerVampireQuestScript there are sections for each level of vampirism. One section says ElseIf VampireStage == 1 and then has code to add vampire abilities such as Champion of the night (AbVampireSkills) . So all i did was create a new ability in CK called AbVampireSkills03 which is simply waterbreathing. Then I went into the script and added Player.AddSpell(ABVampireSkills03, abVerbose = False) as well as SPELL Property AbVampireSkills03 Auto and made sure that the script reference of AbVampireSkills03 was pointing to the spell AbVampireSkills03, which like I said is a spell whose effect is waterbreathing. The problem is when I become a vampire, the power will not add to the player.... I know the power works because I can use player.addspell in the console to add it. It just will not add when you become a vampire. So how do you get the script to add it?

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...