Garry's Mod Wiki

Revision Difference

duplicator.CreateConstraintFromTable#551856

<function name="CreateConstraintFromTable" parent="duplicator" type="libraryfunc"> <description><internal></internal> Creates a constraint from a saved/copied constraint table.</description> <realm>Server</realm> <file line="684-L725">lua/includes/modules/duplicator.lua</file> <file line="722-L763">lua/includes/modules/duplicator.lua</file> <args> <arg name="constraint" type="table">Saved/copied constraint table</arg> <arg name="entityList" type="table">The list of entities that are to be constrained</arg> </args> <rets> <ret name="" type="Entity">The newly created constraint entity</ret> </rets> </function>