Revision Difference
constraint.AddConstraintTableNoDelete#518260
<function name="AddConstraintTableNoDelete" parent="constraint" type="libraryfunc">
<description>Stores info about the constraints on the entity's table. The only difference between this and <page>constraint.AddConstraintTable</page> is that the constraint does not get deleted when the entity is removed.</description>
<realm>Server</realm>
<file line="397">lua/includes/modules/constraint.lua</file>
<args>
<arg name="ent1" type="Entity">The entity to store the information on.</arg>
<arg name="constrt" type="Entity">The constraint to store in the entity's table.</arg>
<arg name="constrt" type="Entity">The constraint to store in the entity's table.</arg>
<arg name="ent2" type="Entity" default="nil">Optional. If different from `ent1`, the info will also be stored in the table for this entity.</arg>
<arg name="ent3" type="Entity" default="nil">Optional. Same as `ent2`.</arg>
<arg name="ent4" type="Entity" default="nil">Optional. Same as `ent2`.</arg>
</args>
</function>