CopyEntity ( entity[,parent] )  

Parameters:

entity - entity handle
parent (optional) - parent entity of copied entity

Description:

Creates a copy of an entity and returns the copied entity's handle.

If a parent entity is specified, then the copied entity will be created at the parent entity's position. Otherwise, it will be created at 0,0,0.

Example:

None.

Index