Is there anyone who knows why it doesn’t work?
if (CARAMEL_LATTE){
RANDOM (talk_cup_neutral_loop)
@add Coffee Cup To Go to RANDOM
Here you go a Caramel latte with almond milk
}elif(ICE_LATTE){
@add Coffee Cup To Go to RANDOM
BROOKE (talk_cup_neutral_loop)
Here you go a ice latte
}elif(WATER){
@add Cup Plastic Blue to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a water
}
Don’t you need to add “RANDOM” before this line?
RANDOM (talk_cup_neutral_loop)
Here you go a Caramel latte with almond milk
MarieL
August 11, 2018, 12:44pm
3
I also think it’s correct like this:
if (CARAMEL_LATTE){
@add Coffee Cup to go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a Caramel latte with almond milk.
1 Like
You accidentally put “RANDOM (talk_cup_neutral_loop)” here
Correction (In My Opinion)
@add Coffee Cup To Go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a Caramel latte with almond milk
1 Like
if (CARAMEL_LATTE){
@add Coffee Cup To Go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a Caramel latte with almond milk
}elif(ICE_LATTE){
@add Coffee Cup To Go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a ice latte
}elif(WATER){
@add Cup Plastic Blue to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a water
}
it still doesn’t work
Apes
August 11, 2018, 1:34pm
6
change last option to }else{
and what exactly it’s not working?
I will get...
choice
“A caramel latte with almond milk” {
YOU (talk_handsonhips_neutral_loop)
A caramel latte with almond milk
gain CARAMEL_LATTE
} “Ice latte” {
YOU (talk_handsonhips_neutral_loop)
A ice latte
gain ICE_LATTE
}“A water” {
YOU (talk_handsonhips_neutral_loop)
A water
gain WATER
}
YOU (talk_neutral)
And to donuts one Chocolate Caramel and a Chocolate Glossy
RANDOM (talk_smile_happy_loop)
Ok coming right up
@RANDOM faces left
@RANDOM starts tinker_stand_neutral_loop_rear
@pause for a beat
if (CARAMEL_LATTE) {
@add Coffee Cup To Go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a Caramel latte with almond milk
} elif(ICE_LATTE) {
@add Coffee Cup To Go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a ice latte
}
else {
@add Cup Plastic Blue to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a water
}
if (CARAMEL_LATTE) {
@RANDOM starst take_object_neutral AND YOU is take_object_neutral
@remove Coffee Cup To Go from RANDOM
@add Coffee Cup To Go to YOU
}elif (ICE_LATTE) {
@RANDOM starst take_object_neutral AND YOU is take_object_neutral
@remove Coffee Cup To Go from RANDOM
@add Coffee Cup To Go to YOU
}else {
@RANDOM starst take_object_neutral AND YOU is take_object_neutral
@remove Cup Plastic Blue from RANDOM
@add Cup Plastic Blue to YOU
}
why doesn’t this workt?
Apes
August 11, 2018, 3:24pm
9
did you reset your story progress?
Apes
August 11, 2018, 3:29pm
11
merge outcomes together like this, reset your story progress and check again.
if (CARAMEL_LATTE) {
@add Coffee Cup To Go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a Caramel latte with almond milk
@RANDOM starst take_object_neutral AND YOU is take_object_neutral
@remove Coffee Cup To Go from RANDOM
@add Coffee Cup To Go to YOU
} elif(ICE_LATTE) {
@add Coffee Cup To Go to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a ice latte
@RANDOM starst take_object_neutral AND YOU is take_object_neutral
@remove Coffee Cup To Go from RANDOM
@add Coffee Cup To Go to YOU
}else {
@add Cup Plastic Blue to RANDOM
RANDOM (talk_cup_neutral_loop)
Here you go a water
@RANDOM starst take_object_neutral AND YOU is take_object_neutral
@remove Cup Plastic Blue from RANDOM
@add Cup Plastic Blue to YOU
}
Hannah_minna:
starst
You spelt this wrong. It should say “starts”
1 Like
Ooh yeah i have probably click’t to fast
When you choose “ice latte”
And the waiter gives drink and instead of the character says “here you go a ice latte”
the character says “here you go a caramel latte and almond milk”
Apes
August 12, 2018, 12:14pm
15
it’s nothing wrong with coding, reset your story progress or unflag the gains.
Apes
August 12, 2018, 12:20pm
17
Click on Story modifiers and then flags (you can ungain flags, or gain them)
Send us the new version of the coding, if there are still errors
How do you get another overlay over the first one?
Apes
August 12, 2018, 3:38pm
20
change the layers (put one under another one)
Moving to the layers means something or someone can be in front or behind character or overlay.
You can use as many numbers as you want: -100 to 100 (probably even more)
CHARACTERS:
Commands:
@CHARACTER moves to layer #
@CHARACTER spot % X Y in zone # at layer #
[image]
This picture is an example to show how numbers working.
Entering characters (@CHARACTER enters from left to screen right) are always in front of everything (unless you move other characters or overlays to the layers)
If …