Jump to content

Papyrus help needed - variable scoping


willkydd

Recommended Posts

I'm trying to make a mod with a custom faction. So far I have a quest that works fine which allows the player to ask about the faction, read a book about it and eventually join (this is when the quest completes).

The thing is, at stage 100 (last) of my quest I want to add the player to my custom-defined faction. So I go to the Quest Stages tab, go to stage 100 and add to the papyrus fragment this

Game.GetPlayer().ModFactionRank(wkyddUoSFaction,1)

or

Game.GetPlayer().SetFactionRank(wkyddUoSFaction,1)

.

Picture of fail: http://imgur.com/VOUG4

 

both fail with the error message saying that wkyddUoSFaction is undefined... but as far as I can see it is. Any idea how I can fix this?

 

thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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