Jump to content

Need help with making a quest perk


DarkHoof

Recommended Posts

Do you have the quest set as Start Game Enabled?

Yes.

Please paste the script so we can have a look.

scn GetSurvivorPerkScript

 

Begin GameMode

 

if ( GetQuestCompleted VMQ01 == 1 )

if ( player.hasperk Survivor != 1 )

player.addperk Survivor

endif

endif

 

StopQuest GetSurvivorPerk

 

End.

 

The invalid perk error in the console is because you're using the AddPerk function with something that isn't a perk. Make sure that both the form ID and the load order index is correct.

I think it's correct. I think. 000ADD didn't change at all. 13 is the number in Load Order according to the Nexus Mod Manager.

 

And about the ShowMessage - don't think I used some kind of a specifier. Just an ID, 1 sentence like "You gained this perk" in the Text section and ticked "Message Box".

Edited by DarkHoof
Link to comment
Share on other sites

Your script does not work because the quest is stopped the first time it runs, preventing any further checks against your conditions. You need to move the StopQuest line up below the AddPerk line, so that the quest is not stopped until the player has received the perk.

 

I still don't believe the ID you're attempting to use is correct. Nexus Mod Manager shows the mod index as both a hecadecimal value and a decimal value. You need to use the hexadecimal value in the column named "Load Order". If you're using the value from the column named "Index", that explains your issue.

Edited by Ladez
Link to comment
Share on other sites

  • Recently Browsing   0 members

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