Boolean values are truth values that can be either True or False. To get a boolean value, you can use the keywords True and False. More often, you will create boolean values using comparisons or logical operations.
Whenever a boolean value is required, you can also use
- a number. Zero (anything less than 10^-6 in magnitude) is treated as False, other values are True.
- a string. The empty string "" is treated as False, other values are True.
Whenever a number is required, you can also use a boolean value. True converts into 1, False converts into 0.
Commands and Functions taking Bool as Parameter
Functions returning Bool
Properties of type Bool
- Base.Building
- Base.YesNo
- Base.YesNo (Planet Property)
- Base.YesNo (Simulation Participant Property)
- Build.YesNo
- Cloaked
- Deactivated
- HasFunction
- IsPlanet
- Keep
- Killed
- Marked
- Played
- Status$
- System.GameType$
- System.GUI
- System.Sim
- Task
- Task.Base
- Transfer.Ship
- Transfer.Unload
- Turn.IsNew
- Type$



