dead objects

dead objects



Kode wheel segment Combat
Style Object set
Modifiers None
Primarily WHEN/DO Both
Pre-made brains that use it Unknown

Combat >  dead objects


This tile is an object set. It contains all the dead objects in the world. Dead objects are objects that have their health at 0, are not immortal, and have destroy after death turned off. You can only query this object set, not add to it.

Example Code

WHEN [dead objects][count][=][5] DO [display][text:You killed them all][screen center]



Other Uses

If you turn destroy after death off on your enemies after a while the bodies could pile up. You could use this tile to destroy all the dead bodies at a certain point in the game, thus reducing the object count and processing power required.

WHEN [for each of][dead objects] DO [destroy][it]

Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: