Garry's Mod Wiki

constraint.AddConstraintTableNoDelete

void constraint.AddConstraintTableNoDelete( Entity ent1, Entity constrt, Entity ent2 = nil, Entity ent3 = nil, Entity ent4 = nil )

Description

Stores info about the constraints on the entity's table. The only difference between this and constraint.AddConstraintTable is that the constraint does not get deleted when the entity is removed.

Arguments

1 Entity ent1
The entity to store the information on.
2 Entity constrt
The constraint to store in the entity's table.
3 Entity ent2 = nil
Optional. If different from ent1, the info will also be stored in the table for this entity.
4 Entity ent3 = nil
Optional. Same as ent2.
5 Entity ent4 = nil
Optional. Same as ent2.

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 6