Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
C4V_Bool
Category:
Variables
Since engine version:
4.9.1.0 GWE
Description
Data type: boolean value (true or false).
Syntax
int
C4V_Bool ();
Remark
This value is also defined as a constant. Thus the parameter brackets can be omitted.
Example
if
(
GetType
(x) == C4V_Bool())
Log
(
"x=%d"
, x);
Writes x to the log if it is a boolean value.
See also:
GetType
Sven2, April 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script