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

使用方法
键值(Keyvalues)
参见: Generic Keyvalues, Inputs and Outputs available to all entities
- Name (targetname) <target_source>
- 其他实体引用该实体的目标名称。
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.