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