Hi. I'm trying to prototype a simple dollmaker using Visual Choices and If statements.
Basically players choose a body type, a top and a bottom, but i don't understand why the condition doesn't do what i want sometimes... Everything works as intended, but one thing does not: when players click on shirt 1 by example, i can't make the shirt to stick to the character...
Is there a way you could clue me in on this, lunafromthemoon? Thanks!
bodychoice: - show room: WITH FADE CONTINUE - show body_1: AT 400,300 WITH CUT - var body: 0 - var bottom: 0 - var top: 0 # Let user choose a body type - visualchoice: - body_1 AT 200,400: - var body: "{body} + 1" - deuzi says: value of body is {body} - scene: topChoice - body_2 AT 400,400: - var body: "{body} + 2" - scene: topChoice - body_3 AT 600,400: - var body: "{body} + 3" - scene: topChoice topChoice: - hide body_1: AT 400,300 WITH CUT - if ({body}=="1"): - show body_1: AT 400,300 WITH CUT - if ({body}=="2"): - show body_2: AT 400,300 WITH CUT - if ({body}=="3"): - show body_3: AT 400,300 WITH CUT - deuzi says: i'm at topChoice # Let user choose a top - visualchoice: - top_1 AT 200,400: - show top_1: AT 400,300 WITH CUT - var top: "{top} + 1" - deuzi says: value of top is {top} - scene: topBottom - top_2 AT 400,400: - show top_2: AT 400,300 WITH CUT - var top: "{top} + 2" - deuzi says: value of top is {top} - scene: topBottom - top_3 AT 600,400: - show top_3: AT 400,300 WITH CUT - var top: "{top} + 3" - deuzi says: value of top is {top} - scene: topBottom topBottom: - hide body_1: AT 400,300 WITH CUT - if ({body}=="1"): - show body_1: AT 400,300 WITH CUT - if ({body}=="2"): - show body_2: AT 400,300 WITH CUT - if ({body}=="3"): - show body_3: AT 400,300 WITH CUT - if ({top}=="1"): - show top_1: AT 400,300 WITH CUT - if ({top}=="2"): - show top_2: AT 400,300 WITH CUT - if ({top}=="3"): - show top_3: AT 400,300 WITH CUT - deuzi says: i'm at topBottom # Let user choose a top - visualchoice: - bottom_1 AT 200,400: - show bottom_1: AT 400,300 WITH CUT - var bottom: "{bottom} + 1" - deuzi says: value of bottom is {bottom} - scene: yourLook - bottom_2 AT 400,400: - show bottom_2: AT 400,300 WITH CUT - var bottom: "{bottom} + 2" - scene: yourLook - bottom_3 AT 600,400: - show bottom_3: AT 400,300 WITH CUT - var bottom: "{bottom} + 3" - scene: yourLook yourLook: - hide body_1: AT 400,300 WITH CUT - if ({body}=="1"): - show body_1: AT 400,300 WITH CUT - if ({body}=="2"): - show body_2: AT 400,300 WITH CUT - if ({body}=="3"): - show body_3: AT 400,300 WITH CUT - if ({top}=="1"): - show top_1: AT 400,300 WITH CUT - if ({top}=="2"): - show top_2: AT 400,300 WITH CUT - if ({top}=="3"): - show top_3: AT 400,300 WITH CUT - if ({bottom}=="1"): - show bottom_1: AT 400,300 WITH CUT - if ({bottom}=="2"): - show bottom_2: AT 400,300 WITH CUT - if ({bottom}=="3"): - show bottom_3: AT 400,300 WITH CUT - deuzi says: Here's here new look.