This article's documentation is for the "GoldSrc" engine. Click here for more information.

func_ladder

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
CLadder
CBaseTrigger
CBaseToggle
CBaseAnimating
CBaseDelay
CBaseEntity
triggers.cpp

func_ladder is a brush entity available in all GoldSrc GoldSrc games.

A ladder. Players will be able to freely move along this brush, as if it was a ladder. The most common way to build a ladder is to first construct it out of brushes (or a masked-textured brush) and then place the func_ladder over it. Only the brush construction will be visible in the game.

Icon-Important.pngImportant:A ladder must be a convex shape, or else interaction will be buggy. If it is necessary to make a concave ladder, it must be split into multiple entities.
Tip.pngTip:Any brush entity can be a ladder as long as it has collisions set to SOLID_NOT, contents set to -16 via game code, and has clipnodes. For example, a func_illusionary with its skin KV set to -16 could be used for both the brush and the climbable surface.

Key Values

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.