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