Garry's Mod Wiki

Garry's Mod Wiki

  table duplicator.Copy( Entity ent, table tableToAdd = {} )

Description

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

Arguments

1 Entity ent
The entity to duplicate. The function will automatically copy all constrained entities.
2 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

1 table
A table containing duplication info which includes the following members:

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...