Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

[OB] How to script a NPC to remove Player infamy?


KWITS
 Share

Recommended Posts

Good Day,

I have tried without success to allow a NPC (a Priest) to pronounce a blessing upon the Player to remove all infamy and debt. However, despite multiple methods, my game freezes during game play when the script is triggered upon a new stage.

Here is the code for the NPC script method:

Begin GameMode

If ( WaVLTFoundQuest == 47 )

;messageBox"The memories of your past soon become a distant memory as you are overcome with an overwhelming sense of peace!"

Player.SetCrimeGold 0

Player.SetPCInfamy 0

Endif

End

Thanks,

KWITS

Link to comment
Share on other sites

No matter the approach, using setpcinfamy 0 either under a topic result or within the main mod script will freeze the game each and every time. I can't find a spell for the NPC to cast to accomplish this task either.

Link to comment
Share on other sites

  • 1 month later...

Good Day,

I recently created a new spell and tied a script together to accomplish this task. It is still a question of timing. I want my NPC to speak a dialogue to the Player and then after speaking, cast a spell to remove all infamy and gold debt.

Cheers!

KWITS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...