Page 1 of 1

#zap Objectname:command

Posted: Sat Feb 17, 2007 11:12 pm
by Quindo
This also works with restore. Thisnk about it. You can have a locked program change loops with #zap loopobject:loop1

Posted: Sat Feb 17, 2007 11:27 pm
by nps
tanks!

Posted: Sun Feb 18, 2007 1:15 am
by Quantum P.
This is a known trick, but yeah, you can do some neat stuff with it.

Posted: Wed Mar 28, 2007 2:39 pm
by Quindo
Do you know of any other commands you can use this for?

Posted: Wed Mar 28, 2007 3:53 pm
by Quantum P.
I believe you can do a similar thing with #restart:

Code: Select all

@Object1
/i/i/i/i/i#Object2:restart

Code: Select all

@Object2
#cycle 1
/n/s/e/w
Object2 should run around in a circle, pause, then run around again because Object1 #restarted it. But this isn't anything you can't do with labels.

Posted: Thu May 03, 2007 11:17 pm
by Quindo
However you could use that to completely restart all the objects on the board just by adding a few more lines of code in. For pushers you can have all the pushers become empties and have fakes become pushers to restart them. How ever ome bug would have to be sorted out.

Posted: Fri Oct 12, 2007 5:46 pm
by kkriegg
I cast ressurection on this thread.

Can you also #unlock objectname?

Posted: Fri Oct 12, 2007 6:47 pm
by Zenith Nadir
i don't think you can... feel free to prove me wrong, though, i don't feel like actually opening zzt to find out right now

Posted: Fri Oct 12, 2007 6:50 pm
by gingermuffins
nope, you'll have to use labels or #if flag to get the command across