Hi, below is the code that I have used so a reader can choose what food to eat.
Before the choice even begins the mc has a bagel in their hand and after the choice is made the food prop won’t disappear. Help?
choice
“Bagel”{
@add Bagel Plain to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
}
“Cookie”{
@add Cookie Chocolate Chip to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
}
“Donut”{
@add Donut Chocolate Sprinkle to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
}
“Pretzel”{
@add Pretzel to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
}
@remove props
if you preview it once in the portal, you have to refresh before previewing it again
choice
“Bagel”{
@add Bagel Plain to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
@remove Bagel Plain from READER
}
“Cookie”{
@add Cookie Chocolate Chip to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
@remove Cookie Chocolate Chip from READER
}
“Donut”{
@add Donut Chocolate Sprinkle to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
@remove Donut Chocolate Sprinkle from READER
}
“Pretzel”{
@add Pretzel to READER
@READER is eat_food_hand_neutral
@pause for 2
READER (talk_smile_happy_loop)
(This is delicious!)
@remove Pretzel from READER
}
#*Test on the app.
Thank you very much, I am so glad that there are people who help so quickly!
@remove PROP NAME from CHARACTER
system
Closed
August 6, 2020, 1:26am
#7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.