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