Adding decision choices based on variables

Status
Not open for further replies.

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
So I'm making a Visual Novel for the contest and each day you you to win affection points with the different girls, at the end I want to give the player a choice between which ending they want to see but only give them the choices for the girls who have a high affection score. How would I go about dynamically adding those?

 

My entire game is one large event with many pages and the Affection points are each stored in a variable.
 
Last edited by a moderator:

Darkwes

Endless Darkness
Member
Joined
Apr 28, 2014
Messages
24
Reaction score
8
Primarily Uses
Using conditional branches or script calls that compare the values of the variables seems the better options to me.
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
Hmm if I do conditional branches that would mean I'd have to create one for every possible combination of outcomes with the 4 girls. But I don't feel like making a script. So I guess I'll just have an entire event page dedicated to your single Final Path choice in the game.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
There is a script that shows choices based on conditions, so if condition X isn't met, it doesn't show the choice in the text.


I forgot which one it was (condition choice perhaps?), but check under text/message systems.
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
Cool that would save me a bit of time, I'll check it out! Thanks
 
Last edited by a moderator:

Darkwes

Endless Darkness
Member
Joined
Apr 28, 2014
Messages
24
Reaction score
8
Primarily Uses

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
That's PERFECT! I can use it when I check the Affection scores and hide Choices based on the results.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Thanks Darkwes!


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top