Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Broadcast script not working to win/lost sprite!
- lberardo
- New to Scratch
1 post
Broadcast script not working to win/lost sprite!
Please help! My broadcast script is not working. The win/lost sprites are not receiving messages to appear! Thanks for you help!
http://scratch.mit.edu/projects/20073974/
- scubajerry
- Scratcher
1000+ posts
Broadcast script not working to win/lost sprite!
You need to share your project.
- scubajerry
- Scratcher
1000+ posts
Broadcast script not working to win/lost sprite!
The broadcast is not happening.
You need to drag the variable score into the comparison, rather than typing it. Right now, you ware comparing the text “score” to the number 15. They do not equal. You should have
Also, you need to remove the STOP ALL from the scripts that do they broadcast, or they will stop the scripts that receive the broadcast.
You need to drag the variable score into the comparison, rather than typing it. Right now, you ware comparing the text “score” to the number 15. They do not equal. You should have
if <(score) = [15]> then
end
//not
if <[score]= [15]> then
end
Also, you need to remove the STOP ALL from the scripts that do they broadcast, or they will stop the scripts that receive the broadcast.
Last edited by scubajerry (April 4, 2014 03:21:01)
- Discussion Forums
- » Help with Scripts
- » Broadcast script not working to win/lost sprite!