Revision Difference
constraint.FindConstraintEntity#514417
<function name="FindConstraintEntity" parent="constraint" type="libraryfunc">⤶
<description>Returns the other entity involved in the first constraint of a specific type directly connected to the entity</description>⤶
<realm>Server</realm>⤶
<file line="1601">lua/includes/modules/constraint.lua</file>⤶
<args>⤶
<arg name="ent" type="Entity">The entity to check</arg>⤶
<arg name="type" type="string">The type of constraint (eg. "Weld", "Elastic", "NoCollide")</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="Entity">The other entity.</ret>⤶
</rets>⤶
</function>⤶
⤶