duplicator.Copy

From Garry's Mod
Jump to: navigation, search
 duplicator.Copy( )

Contents

Description

Copies the entity, and all of its constraints and entities, then returns them in a table.

Arguments

Entity ent

The entity to duplicate. The function will automatically copy all constrained entities.

Arguments

table tableToAdd={}

A preexisting table to add entities and constraints in from.

Uses the same table format as the table returned from this function.

Returns

table

A table containing duplication info which includes the following members:

The values of Mins & Maxs from the table are returned from duplicator.WorkoutSize
Personal tools
Navigation