Noob coder in need of assistance.
In a nutshell I’m working on an offspring generator. I have 2 Dropdown menus named “Mother” and “Father” with a few choices a piece. I also have a list of variables that contain 2 choices a piece (these represent the possible genes that could be passed from the parent) (the variables should be tied to the drop down selections) What I want to happen is when a “Mother” and “Father” are selected and a button is pressed a random choice (1of2) is selected from a variable (tied to the mother selection) and a random choice (1of2) is selected from a variable (tied to the father selection) these 2 variables are then combined and displayed (Showing the Offspring) I figured out how to choose a random option within the variable but I can’t figure out how to call the correct variable based off the user selection in the drop down. Any guidance would be much appreciated. Thanks.