*** Very useful
Creates an empty object and returns its handle.
The object is automatically added to the engine
Using this function together with STATE_object_add_polygon()
makes it possible to create objects in real-time. These two functions also makes it possible
to do most of EDITOR Mode tasks in viewer mode.
Parameters:
object_name: Give the created object a nmae
Example:
DWORD obj=STATE_object_create("my_object");
See also: STATE_object_add_polygon()
|