Preventing dialogue branches from re-occurring without using bool variables for each branch

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ORCONECTESLIMOSUS
Posts: 11
Joined: Sun Jan 19, 2025 11:26 am

Preventing dialogue branches from re-occurring without using bool variables for each branch

Post by ORCONECTESLIMOSUS »

Hello!
In my vidya, the player is able to set up a camera that prints results depending on a series of variables, such as the camera chosen or the state of the game.
After the type of photo is established, a random variable chooses a photo and shows it to the player.
After a photo is seen, i don't want it to be seen again, but working within the dialogue system i don't know if i can do this without assigning a bool variable to each photo and photo description.

I would need like 40 or 50 bool variables, and this is only in the photo system.
Any tips?
Image
User avatar
Tony Li
Posts: 23251
Joined: Thu Jul 18, 2013 1:27 pm

Re: Preventing dialogue branches from re-occurring without using bool variables for each branch

Post by Tony Li »

Could you maybe use SimStatus?

If not, then 40-50 variables is probably the most logical approach. You can visually group your variables into different foldouts/submenus by using "." in their names. For example, to group all of the photo variables, start their names with "Photo." such as "Photo.submarine", "Photo.airplane", etc. In the Dialogue Editor's Variable section, from the Menu dropdown you can select an option to show variable groups in separate foldouts. This way you can keep the photo variables collapsed and out of the way until you need to look at them.
Post Reply