States Not Switching Properly
Hi everyone,
I am working on a clinic simulation and as part of it need to show how many people are in the waiting room. To do that, i made a row of 5 patient icons and, using state changes, i want as many patient icons to show up as there are patients in the waiting room.
The icons i used for the patients came in two parts: the head and the body, so I had to do the states for each half.
For some strange reason, i can accomplish this for the heads (they accurately reflect the patient count), but the bodies always show unless the patientcount variable is set to zero, then none show.
I've tried it two different ways:
- Version 1: I made the shapes in the normal state see-through and made a show state. Then I set the triggers to switch the state from normal to show if the patientcount variable is equal to or greater than 1, 2, 3, etc.
- Version 2: The normal state is the patient showing but I set the default state to hidden. I then set the triggers to switch the state to normal when the patientcount variable is equal to or greater than 1, 2, 3, etc.
I've been at this all day and am about to tear my hair out. Could someone please have a look at the story file for me and see where I am messing it up? Thank you so much! :)
Note: I haven't automated the patientcount variable yet; to test it you still have to manually change the trigger to set it to a number.