Money Scripting Question

Post » Wed Mar 19, 2014 11:04 pm

Hi, guys. I made an NPC with some dialogue. Now, one of his dialogue branches goes like this: What would you like to change?(NPC) --> I'd like to change my wealth(Player)--> How wealthy are you?(NPC)--> I am rich! (2000 gold)(Player)

My question is, is there a way to script it so that when I click that dialogue, I am not gifted 2000 gold, but rather my gold amount is set to 2000 gold? In other words, let's say I have 100 gold and I click that dialogue option. I don't want to be gifted 2000 gold, to make 2100 gold. I just want to set my gold amount from 100 to 2000. Is there a way to do this? Thank you!

User avatar
Emily Shackleton
 
Posts: 3535
Joined: Sun Feb 11, 2007 12:36 am

Return to V - Skyrim