Throwstar: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Created page with "'''#throwstar [direction]''' is a ZZT-OOP command to have an object throw a star in a specified direction. It differs from <code>#put [dir] star</code> in that it res...")
 
(No difference)

Latest revision as of 07:53, 10 February 2021

#throwstar [direction] is a ZZT-OOP command to have an object throw a star in a specified direction.

It differs from #put [dir] star in that it respects the solidity of walls, whereas #put would put a hole through the wall.

#throwstar also ends an object's code execution for the current tick.