I've watched projects where sprites react depending on what the person answers if the sprite is acting a question. They also can say the answer in their speech. I don't know how to do either of those things. Please respond. Thanks.
Offline
emilywhite840 wrote:
I've watched projects where sprites react depending on what the person answers if the sprite is acting a question. They also can say the answer in their speech. I don't know how to do either of those things. Please respond. Thanks.
For a sprite asking and responding:
when gf clicked ask [Do you like pie?] and wait forever if <(answer) = [yes]> say [So do I!] for (2) secs end if <(answer) = [no]> say [I bet you like some other dessert] for (2) secs endFor a sprite using the answer in a statement:
when gf clicked say (join [Hello,] (answer)) for (2) secsHope that helped!
Offline
emilywhite840 wrote:
I've watched projects where sprites react depending on what the person answers if the sprite is acting a question. They also can say the answer in their speech. I don't know how to do either of those things. Please respond. Thanks.
You can do this:
when gf clicked if <touching sprite 3> say[Yay!]
Offline