How make random numbers at birth to refer to?
Posted: Wed Jul 12, 2017 12:40 pm
Fiddling about with a mod, one thing I don't know how to do elegantly is making certain effects only happen to randomly chosen characters, determined at birth (much like the stock of stores).
Basically, what I want to do is to have numbers be randomly generated on birth, and then check them later in, for example, the PC's chat with another character.
I prefer to alter as few files (and as unimportant files) as possible, so I was wondering if there's some simple way to do this. Is there a general "seed number" used by shops and similar that I can refer to? Ideally it should be something invisible to the player.
Thankful for any help.
Basically, what I want to do is to have numbers be randomly generated on birth, and then check them later in, for example, the PC's chat with another character.
I prefer to alter as few files (and as unimportant files) as possible, so I was wondering if there's some simple way to do this. Is there a general "seed number" used by shops and similar that I can refer to? Ideally it should be something invisible to the player.
Thankful for any help.