Garry's Mod Wiki

duplicator.GetAllConstrainedEntitiesAndConstraints

  table, table duplicator.GetAllConstrainedEntitiesAndConstraints( Entity ent, table entStorageTable, table constraintStorageTable )

Description

This is used internally - although you're able to use it you probably shouldn't.

Fills entStorageTable with all of the entities in a group connected with constraints. Fills constraintStorageTable with all of the constrains constraining the group.

Arguments

1 Entity ent
The entity to start from
2 table entStorageTable
The table the entities will be inserted into
3 table constraintStorageTable
The table the constraints will be inserted into

Returns

1 table
entStorageTable
2 table
constraintStorageTable