objects closer than
Details
Kode wheel segment | Sensors |
Style | Object set and sensor |
Modifiers | None |
Primarily WHEN/DO | Both |
Pre-made brains that use it | Enemy brains |
Sensors > objects closer than
Description
This is a sensor tile. It creates an object set of all objects closer than a set distance (specified by pairing with a number).
Example Code
WHEN [objects closer than][2] DO [highlight][them]
Modifiers
from: By default it will use [me] as the point of origin, however you can change it with IWP to another object
WHEN [objects closer than][2][from][IWP:door]