logic_parent

From Valve Developer Community
Revision as of 01:26, 25 May 2024 by MyGamepedia (talk | contribs) (Created page with "{{This is a|point entity|name=logic_parent|game=Black Mesa|sprite=logic_auto.png}} This entity sets specified parent of specified entity via <code>ParentEntities</code> output...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Logic auto.png

logic_parent is a point entity available in Black Mesa Black Mesa. This entity sets specified parent of specified entity via ParentEntities output. This entity also can teleport child to parent. Doesn't replace SetParent input, may be useful in some cases (for example when you need to know, if a child has a parent or not).

Black Mesa Level Creation

Keyvalues

Flags

[ 1 ] : Remove on fire
Removes this entity when OnFired output is fired.
[ 2 ] : Teleport child to parent
Teleports child to parent origin. If unchecked, child will save initial position.

Inputs

ParentEntities <stringRedirectInput/string>
Sets specified parent for specified object. Can't set attachment point. The syntax is: ParentName ChildName.


Outputs

OnFired <void>
Fired when ParentEntities is successfully fired.