CreateContents

Category: Objects / Creation
Since engine version: 4.6.5.0 CP (extended in 4.9.6.0 CR)

Description

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

Syntax

object CreateContents (id id, object pObj, int iCount);

Parameters

id:
Type of object to be created
pObj:
Taget container
iCount:
Number of objects to be created. From 4.9.6.0 CR

Example

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