func_useableladder
< Zh
Jump to navigation
Jump to search
func_useableladder是点实体,可在所有的
起源 游戏中使用。
| CFuncLadder |
作为半2风格的梯子。可使玩家自动上/下梯,也可以使用+use手动爬上梯子(控制台指令,相当于按下控制键E)。
Issues
You should be sure, that ladder is not in contact with your brush if using it for ladder representation, otherwise it won't work.
键值
- Name (targetname) <target_source>[ Edit ]
-
这个名称是其他实体通过 输入/输出 或其他 关键值(如
parentname或target) 来引用该实体时使用的标识符。
该名称也会显示在 Hammer 编辑器的 2D 视图和 实体报告 中。
参见: 所有实体均可使用的 通用键值、输入与输出
- Start (point0) <vec3>
- 梯子的起始点
- End (point1) <vec3>
- 梯子的终止点
- Surface properties (ladderSurfaceProperties) <字符串>
- Start Disabled (StartDisabled) <布尔值>
-
保持休眠状态,直到被唤醒。(利用
Enable输入)。
Flags
- Fake Ladder : [1]
- Ladder serving for mount check which still fires the
OnPlayerGotOnLadderoutput but won't actually put the player on the ladder
示例: Used in
d2_coast_04for the ladder leading to operable crane and usesOnPlayerGotOnLadderoutput to put player inside the crane
Inputs
EnableDisable:
- Enable / Disable <void>
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnPlayerGotOnLadder
- !activator = this entity
!caller = player that got on ladder
Fired whenever a player gets on this ladder. - OnPlayerGotOffLadder
- !activator = this entity
!caller = player that got on ladder
Fired whenever a player gets off this ladder.
See also
- info_ladder_dismount - An entity used to specify ladder auto-dismount points.
- ladder_simple - A prefab containing a simple ladder setup
- Working Ladders - A wiki tutorial on how to construct ladders
- A tutorial bsp and map for constructing ladders