logic_parent
Jump to navigation
Jump to search
| CLogicParent |

logic_parent is a logical entity available in
Black Mesa. This entity sets specified parent for specified entity via ParentEntities output. This entity also can teleport child to parent. Useful in some cases, for example, when you need to know, if a child has a parent or not.
SetParent input in this game.Flags
- Remove on fire : [1]
- Removes this entity when
OnFiredoutput is fired.
- Teleport child to parent : [2]
- Teleports child to parent's origin. If unchecked, child will save initial position before the input.
Inputs
- ParentEntities <string>
- Sets specified parent for specified object. The syntax is: ParentName ChildName.
Outputs
- OnFired <void>
- Fired when
ParentEntitiesis successfully fired.