This article's documentation is for anything that uses the Source engine. Click here for more information.

Func ladderendpoint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(deprecated by func_usableladder alone makes no sense considering this entity spawns func_useableladder in the first place lel)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Obsolete|entity=1|replacement = using {{ent|func_useableladder}} directly}}
{{CD|CFuncLadderEndPoint|file1=func_ladder_endpoint.cpp}}
{{CD|CFuncLadderEndPoint|file1=func_ladder_endpoint.cpp}}
{{this is a|point entity|name=func_ladderendpoint}}  
{{This is a|point entity|name=func_ladderendpoint}}  


It is used to specify the endpoints of a ladder. This entity is functional, but has been replaced by the easier-to-use [[func_useableladder]] entity. Left in only for backwards-compatibility!
It is used by making two of these entities pointing at each other using the <code>target</code> keyvalue representing two points between which {{ent|func_useableladder}} will be created at level activation time and afterward these two entities are deleted. It's better to use <kbd>func_useableladder</kbd> directly instead. This was left in only for backwards-compatibility!


To be valid, a full-sized player hull traced between the start and end points must not be obstructed at level activation time. The angle determines in which direction the player leaves the ladder if the player presses the +jump button.
To be valid, a full-sized player hull traced between the start and end points must not be obstructed at level activation time (warning should be left in console if this is not followed).  


{{note|This entity is non-functional in [[Counter-Strike: Source]]. In CS:S, use [[func_ladder]] instead.}}
{{note|This entity is functional only if in the given game {{ent|func_useableladder}} is also functional}}
{{func point ent}}
{{func point ent}}


Line 14: Line 15:


== See also ==
== See also ==
* [[Working Ladders]]
* [[Working ladders]]

Latest revision as of 16:13, 4 May 2025

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: using func_useableladder directly.
C++ Class hierarchy
CFuncLadderEndPoint
CBaseEntity
C++ func_ladder_endpoint.cpp

func_ladderendpoint is a point entity available in all Source Source games.

It is used by making two of these entities pointing at each other using the target keyvalue representing two points between which func_useableladder will be created at level activation time and afterward these two entities are deleted. It's better to use func_useableladder directly instead. This was left in only for backwards-compatibility!

To be valid, a full-sized player hull traced between the start and end points must not be obstructed at level activation time (warning should be left in console if this is not followed).

Note.pngNote:This entity is functional only if in the given game func_useableladder is also functional
Warning.pngRisk of Confusion:This is a point entity despite the name starting with func_ (which is usually used for brush entities).

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Other (target) <targetname>
A ladder goes between any two func_ladderendpoints pointing at each other.

See also