activate brain
Details
Kode wheel segment | Brains/Multibrain |
Style | Brain control |
Modifiers | channel / slot |
Primarily WHEN/DO | DO |
Pre-made brains that use it | Unknown |
Brains > Multibrain > activate brain
Description
This tile is used to turn on (activate) a brain. You can use IWP to select a brain you wish to turn on.
Can also be used with Channel and slot modifiers.
Tutorial on Channels and slots
Example Code
WHEN [interacted] DO [activate brain][channel][controls][slot][1]
or
WHEN [interacted] DO [activate brain][IWP:door]
Modifiers
channel: Paired with a number or text variable. This specifies which channel the brain is in. Best used with a slot reference as well.
slot: Paired with a number or text variable. This specifies which slot the brain is in. Best used with a channel reference as well.
Other Uses
An alternative for the brain is active boolean. It is not a boolean however, and cannot be toggled.