I hope to see if I receive blocks
if < I receive [a v] > do something endand clone blocks
clone
Last edited by curiouscrab (2012-08-13 15:10:30)
Offline
curiouscrab wrote:
I hope to see if I receive blocks
if < I receive [a] > do something endand clone blocksclone
''Receive'' blocks already exitst. Yup,clone blocks are coming!
Offline
curiouscrab wrote:
I hope to see if I receive blocks
if < I receive [a] > do something endand clone blocksclone
1. not planned.
2. planned
Offline
Cloning will be in 2.0, a boolean for <I receive []?> wouldn't be possible since a broadcast takes a split second to execute.
Offline
soniku3 wrote:
curiouscrab wrote:
I hope to see if I receive blocks
if < I receive [a] > do something endand clone blocksclone''Receive'' blocks already exitst. Yup,clone blocks are coming!
I mean for the if.
Offline
curiouscrab wrote:
I hope to see if I receive blocks
if < I receive [a] > do something endand clone blocksclone
As far as I know, the clone block will be there, but the
if < [hi v] received > Say [Hi!] Endmay not be.
Offline
berberberber wrote:
Use variables.
For what?
Last edited by curiouscrab (2012-08-13 15:09:43)
Offline
MrFlash67 wrote:
curiouscrab wrote:
I hope to see if I receive blocks
if < I receive [a] > do something endand clone blockscloneAs far as I know, the clone block will be there, but the
if < [hi v] received > Say [Hi!] Endmay not be.
By the way, it is [hi v] recived, not I receive [hi v].
How do you know if it doesn't exist?
Offline
curiouscrab wrote:
MrFlash67 wrote:
curiouscrab wrote:
I hope to see if I receive blocks
if < I receive [a] > do something endand clone blockscloneAs far as I know, the clone block will be there, but the
if < [hi v] received > Say [Hi!] Endmay not be.
By the way, it is [hi v] recived, not I receive [hi v].How do you know if it doesn't exist?
I read it on the wiki or on some suggestion.
Offline
curiouscrab wrote:
MrFlash67 wrote:
curiouscrab wrote:
I hope to see if I receive blocks
if < I receive [a] > do something endand clone blockscloneAs far as I know, the clone block will be there, but the
if < [hi v] received > Say [Hi!] Endmay not be.
By the way, it is [hi v] recived, not I receive [hi v].How do you know if it doesn't exist?
Because out the two, that's the only one that's possible (read my earlier post).
Offline
RedRocker227 wrote:
curiouscrab wrote:
MrFlash67 wrote:
As far as I know, the clone block will be there, but theif < [hi v] received > Say [Hi!] Endmay not be.
By the way, it is [hi v] recived, not I receive [hi v].How do you know if it doesn't exist?
Because out the two, that's the only one that's possible (read my earlier post).
I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.
Offline
MrFlash67 wrote:
RedRocker227 wrote:
curiouscrab wrote:
How do you know if it doesn't exist?
Because out the two, that's the only one that's possible (read my earlier post).
I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.
Just put forever broadcast whatever, and in that forever put if something received, stop script.
forever broadcast [whatever v] if < [a v] received > stop script end end
Last edited by curiouscrab (2012-08-13 15:31:23)
Offline
curiouscrab wrote:
MrFlash67 wrote:
RedRocker227 wrote:
Because out the two, that's the only one that's possible (read my earlier post).I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.
Just put forever broadcast whatever, and in that forever put if something received, stop script.
forever broadcast [whatever v] if < [a v] received > stop script end end
Um?
Offline
MrFlash67 wrote:
curiouscrab wrote:
MrFlash67 wrote:
I believe Forever if blocks can detect stuff that happen for a split second. If not, then change the broadcasting process slightly so it can work. They are moving to Flash, this will probably be small.Just put forever broadcast whatever, and in that forever put if something received, stop script.
forever broadcast [whatever v] if < [a v] received > stop script end endUm?
Um what? Is it possible to have 2 broadcasts at once? This should work.
Offline
To replace the
<[broadcast v] received?>block,
wait until [broadcast v] receivedblock
Offline
thebriculator wrote:
To replace the
<[broadcast v] received?>block,
I think there should be await until [broadcast v] receivedblock
Good idea.
Offline
curiouscrab wrote:
berberberber wrote:
Use variables.
For what?
For the (i receive [X v]) block. You could replace a broadcast [X v] block with:
set [variable v] to [X]and the (i receive [X v]) with
<(variable)=[x]>
Last edited by powerpoint56 (2012-08-13 18:52:40)
Offline
gfchll wrote:
if<[sprite 1 v] is touching [sprite 2 v]> end broadcast [one v] and [two v]here are two ideas
Just put two broadcasts next to eachother and broadcast at the same time.
when I receive [Scratch v] broadcast [1 v] broadcast [2 v] stop script
Offline
powerpoint56 wrote:
curiouscrab wrote:
berberberber wrote:
Use variables.
For what?
For the (i receive [X v]) block. You could replace a broadcast [X v] block with:
set [variable v] to [X]and the (i receive [X v]) with<(variable)=[x]>
What do you mean? Are you saying:
when gf clicked set [variable v] to [broadcast 1] if < (variable) = [broadcast 1] > do something end
Last edited by curiouscrab (2012-08-13 20:58:05)
Offline
thebriculator wrote:
To replace the
<[broadcast v] received?>block,
I think there should be await until [broadcast v] receivedblock
But I wanted it to be for an if. So you could put if I receive, that way it only does a certain function when it receives that. Your way, you would have to make an entirely new script.
Offline
curiouscrab wrote:
powerpoint56 wrote:
curiouscrab wrote:
For what?For the (i receive [X v]) block. You could replace a broadcast [X v] block with:
set [variable v] to [X]and the (i receive [X v]) with<(variable)=[x]>What do you mean? Are you saying:
when gf clicked set [variable v] to [broadcast 1] if < (variable) = [broadcast 1] > do something end
Indeed.
Offline
powerpoint56 wrote:
curiouscrab wrote:
powerpoint56 wrote:
For the (i receive [X v]) block. You could replace a broadcast [X v] block with:
set [variable v] to [X]and the (i receive [X v]) with<(variable)=[x]>What do you mean? Are you saying:
when gf clicked set [variable v] to [broadcast 1] if < (variable) = [broadcast 1] > do something endIndeed.
I made a program like that for invisibility. It's my latest project, for a contest, called Invisible Dot.
Last edited by curiouscrab (2012-08-14 10:40:46)
Offline