func_portal_bumper
< Zh
Jump to navigation
Jump to search
func_portal_bumper
是一个笔刷实体,可在 传送门(系列)中使用。
![]() |
---|
CFuncPortalBumper |
实体描述
该实体用于《传送门》游戏使无法在其内部开启传送门, 且将传送门弹开。当防传送门表面直接与允许传送门的表面相连时使用此实体。
虽然并非绝对必要,但使用该实体会使你的谜题更加友好。如果表面存在角度(例如房间角落),则不需要使用此实体。

使用方法
键值(Keyvalues)
- Name (目标名称) <target_source>[ Edit ]
- 这个名称是其他实体通过 输入/输出 或其他 关键值 (如
parentname
或target
) 来引用该实体时使用的标识符。
该名称也会显示在 Hammer 编辑器的 2D 视图和 实体报告 中。参见: 所有实体均可使用的 通用键值、输入与输出
Parentname:
- Parent (parentname) <目标名 >
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Flags
- Start inactive : [1]
- 默认一开始禁用
输入(Inputs)
- Deactivate
- 关闭弹开功能
- Activate
- 开启弹开功能
- Toggle
- 切换弹开功能
Parentname:
- SetParent <字符串 >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <字符串 >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <字符串 >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.