Jump to content

Give the Player a Perk via Dialogue/Script?


Lollia

Recommended Posts

My scripting stupidity has struck once again.

 

I'm attempting to use the "Book of Love" Mara quest in Riften as a guide to giving the player a perk that appears in the Active Effects panel once the quest reaches another stage, but am having no luck at all.

 

I have made similar perks before, but they have all been implemented instantly from the beginning of a new game. This is a bit different.

 

If anyone can actually walk me through the process or point out a guide that does so (preferably not in video format--I have a hard time learning from videos), I would be most grateful.

 

How the Book of Love quest works--after you speak with Dinya for the last time, her dialogue ups the quest stage. That quest stage has this:

Game.GetPlayer().AddPerk(MaraPerk)

 

This is the part I cannot get to work. I think where I'm having problems is the script properties section. I have never really understood how that functions, so any help is appreciated.

 

 

EDIT: I got it to work!

 

I don't quite understand what happened. I remade the property the same way as I did before, but gave it a different name, and it now works. I am a bit mystified, but happy, too. :huh: :happy:

Edited by Lollia
Link to comment
Share on other sites

  • Recently Browsing   0 members

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