Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
GetID
Category:
Objects
Since engine version:
4.6.5.0 CP
Description
Returns the object definition id of an object.
Syntax
id
GetID (
object
pObj);
Parameter
pObj:
Object of which to determine the definition id.
Example
CreateObject
(GetID(
this
()))
Creates a duplicate of the calling object.
jwk, April 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script