CreateContents

Category: Objects / Creation
Since engine version: 1.0 OC

Description

Creates an object of the specified type in the contents of another object.

Syntax

object CreateContents(id id, int count);

Parameters

id:
Type of object to be created.
count:
Number of objects to be created, if not specified, 1 is assumed.

Example

GetHiRank(0)->CreateContents(Rock);
The highest ranking clonk of this player receives a rock.
See also: CreateConstruction, CreateObject, RemoveObject
springer, 2002-04