Throwstar

From Wiki of ZZT
Revision as of 07:53, 10 February 2021 by RT-55J (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

#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.