script_clip_vphysics

From Valve Developer Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Class hierarchy
CScriptVPhysicsClip
CFuncVPhysicsClip
CBaseEntity

script_clip_vphysics is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It is a point entity version of func_clip_vphysics, allowing it to be spawned dynamically through VScript or the commentary system without recompiling the map. Like func_clip_vphysics, it is considered solid to VPhysics objects (such as a prop_physics). QPhysics objects (such as players) can pass freely. It can also use a filter to only collide with specific objects.

Keyvalues

Name (targetname) <string>
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

Filter Name (filtername) <filter>
Filter to use to see if activator collides with this entity.
Bounding Box Extents (extent) <vector>
Controls each 'radius' of the bounding box. X is half the width, Y is half the height and Z is half the length.
Origin (origin) <vector>
Center of the bounding box specified by extent
Angles (angles) <vector>
Angles of the bounding box specified by extent

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

See also