How do I detect if an object is a clone or not?
<not<(my[other clones v]::sensing)contains(my[self v]::sensing)::list>>
I used my clones instead of my other clones. I think yours will work :P
A clone doesnt have a clone!(unless it did clone itself)
Or use
[scratchblocks]< (ask(my[parent v]::sensing)for((my[clones v]::sensing)::grey ring)::control)contains(my[self v]::sensing)::list>
[/scratchblocks]
13 posts were split to a new topic: To err is human
in reality, about 3 minutes, but people take hours when they are not on snap! simultaniously
Yeah. But I have a tab open so that I can understand if there is any notification for me when I am working on my computer.
oh
or in scratchblocks:
<is (my [parent v] :: sensing) a [sprite v]? :: operators>
guys, you just need to know if the sprite is temporary
if the sprite is temporary, it's a clone.
actually there are permanent clones. If you right click on a sprite in the sprite corral and press "clone", it will make a permanent clone.
can you go to: https://forum.snap.berkeley.edu/t/minicomp-first-snap-collaboration-in-history/2426/78 for a second?
True, but if you do that, you probably know it's a clone. :~) It's if several sprites are sharing the same scripts that you have to worry about it in your program.
Then there's the technique of using , and if you still exist, you weren't a clone!
P.S. Okay, it's finally happened; we have too many forum users. I've spent the past two hours trying to catch up, and every time I read a thread, the thread count goes up.
So can you do this:
if <(my [temporary? v]::sensing)=< true::operators>>::control
no, you just drop the "my temporary" into the if block.
Well, yes, you can use "= true." But you don't have to, and so it's better not to.