ComposeContents
Category: Objects
/ Creation
Since engine version: 5.1 OC
Description
Creates an object of the specified type in the contents of the calling object. The object is composed from components which must be available inside the object. Otherwise, a message is displayed listing missing components. This function causes the callback BuildNeedsMaterial which can be used to intercept the message and perform custom actions for acquiring the necessary material.
Syntax
object ComposeContents(id object_id);
Parameter
- object_id:
Type of object to be created.
springer, 2002-04