As in, I have several boolean (true/false) and I want the character to do something different depending on each.
Windy, Cold, Daytime
so if it is windy and cold but not daytime: It is a cold night
If it is windy and daytime but not cold: it is a windy, warm day
If it is not windy, not cold and daytime: it is a warm day
ect ect ect
I need an easy way to list all the possibilities AND be able to add new variables (true/false).
Thanks for any help you can give.
Something similar to this is great: http://www.mathsisfu...calculator.html
Okay since no-one is replying I'm hoping it's because you don't understand? I'll try to clarify what I'm looking for.
Let's say I have a game with relationships between the player and AI NPC characters.
Now every time they talk, the NPC will reply differently depending on different factors.
How can I plan these responses in a neat layout in Word or another program?
I have three variables: isHappy, isCold, isHungry, which then have the values of either True or False.
I need a program (or a quicker method than writing) that means I can get all the possibilities for the scenarios:
isHappy = true, isCold = true, isHungry = true; means "Even though I'm cold and hungry, I still feel good about myself!"
isHappy = true, isCold = true, isHungry = false: means "I'm full and feel great but it's cold in here!"
isHappy = true, isCold = false, isHungry = false; means "I feel GREAT!"
and this will continue for all (9?) possibilities.
Now, just writing it out like this is fine for 3 values and 9 outcomes. But I want to consider up to 10 values (1000s of outcomes).
To clarify I don't want something to make dialogue for me, I just want it to list, like this:
isHappy = true, isCold = true, isHungry = true
isHappy = true, isCold = true, isHungry = false
isHappy = true, isCold = false, isHungry = false ect ect
Then I will add what I want to be the dialogue myself.
This is also just for design, not actual coding.
Edited by Rybo5001, 10 September 2012 - 06:03 AM.