Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need Help With Custom Block!
- LittlePony
- Scratcher
100+ posts
Need Help With Custom Block!
Alright, so in a project I'm making, you can enter a word and voice will say the word. However, I am having a bit of trouble. Should I use a custom block or use a shorter, easier blocks that aren't customized? I made a project, so look inside to see the scripts. ^^
LINK: http://scratch.mit.edu/projects/12130057/
Please help!
LINK: http://scratch.mit.edu/projects/12130057/
Please help!
- curiouscrab
- Scratcher
500+ posts
Need Help With Custom Block!
I believe it will be easiest just to use
play sound (item (#) of [Sentence: v]) until doneso you don't need all those if blocks. Just make sure you name the sounds the same as what will be in the list.
(#)should be the number in the list you want.
Last edited by curiouscrab (Sept. 2, 2013 21:03:47)
- LittlePony
- Scratcher
100+ posts
Need Help With Custom Block!
I believe it will be easiest just to useplay sound (item (#) of [Sentence: v]) until doneso you don't need all those if blocks. Just make sure you name the sounds the same as what will be in the list.(#)should be the number in the list you want.
*facepalm* Why didn't I think of that! Geez I'm an idiot sometimes! lol Anyway, thank you so much! You are saving me a lot of time! :3
- curiouscrab
- Scratcher
500+ posts
Need Help With Custom Block!
Your Welcome!I believe it will be easiest just to useplay sound (item (#) of [Sentence: v]) until doneso you don't need all those if blocks. Just make sure you name the sounds the same as what will be in the list.(#)should be the number in the list you want.
*facepalm* Why didn't I think of that! Geez I'm an idiot sometimes! lol Anyway, thank you so much! You are saving me a lot of time! :3
- Discussion Forums
- » Help with Scripts
- » Need Help With Custom Block!