Garry's Mod Wiki

constraint.FindConstraintEntity

Entity constraint.FindConstraintEntity( Entity ent, string type )

Description

Returns the other entity involved in the first constraint of a specific type directly connected to the entity

Arguments

1 Entity ent
The entity to check
2 string type
The type of constraint (eg. "Weld", "Elastic", "NoCollide")

Returns

1 Entity
The other entity.

Page Links


Special Pages


Wikis

?

Render Time: 45ms

Session 0
DB GetPage 6
Generate Html 11
SaveChanges 10
Render Body 0
Render Sidebar 15