Welcome to the Creatures Wiki! Log in and join the community.
TCOR
Jump to navigation
Jump to search
TCOR tests whether setting the bounding box of an agent will work or not - useful for initially smaller agents that will grow into much larger agents.
Usage[edit]
Syntax: TCOR (integer) topY (float) bottomY (float) leftX (float) rightX (float)
Tests setting the bounding box of the physical core of the object TARG. May be set to smaller (or larger) than the sprite's rectangle. Returns 1 if OK to set (using CORE), 0 if not.
This article about a CAOS command or function needs further examples. |