So, for my game, I was planning on having a traitor between the support cast of npcs, but to put some replay value, I’d like that the game chooses one randomly, giving each one a secret reason to be a traitor.
To achieve this, a thought on using the *rand command to generate a value to a variable, and the game would co-relate the number with a person.
How it would work; very early in the game, I’m talking about the first choice here, alongside the normal shenanigans a secret *rand would define the number of the traitor, and later on when needed it would check the variable, lets suppose the player go looking for tips of a saboteur, for exemple;
If traitor = 1
Finds grey hair
Elseif traitor = 2
Finds id card
Anyway, what do you think? Its been done somewhere else? Any better ideias?
I’m still new here let me know if I did something wrong with this post please and thanks for your time.