point_push
Class hierarchy |
---|
CPointPush |
physobj.cpp
|
point_push
is a point entity available in all Source games except Counter-Strike: Global Offensive. It is a push sphere that will push any physics props or entity that has a movement type set (e.g. NPCs) away from its origin. It will not push parented objects -- so if you want to keep some entities rooted, you can parent them temporarily to something static.
Contents
Keyvalues
- Name
(targetname)
<string> - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Magnitude
(magnitude)
<float> - How strongly to push away from the center.
Tip:Using a negative value will draw items toward the center, creating a "gravity well" effect.
- Radius
(radius)
<float> - Radius to affect items in.
- Inner radius
(inner_radius)
<float> - If not zero, the LOS is calculated from a point intersecting this sphere.
- Cone of Influence
(influence_cone)
<integer> (in all games since ) !FGD - The fov of the cone a physics object must be in to be affected by. (present in FGD)Confirm:Does it exist in games before Portal 2?
- Start Disabled
(StartDisabled)
<boolean> - Stay dormant until activated (with the
Enable
input).
- Pitch Yaw Roll (Y Z X)
(angles)
<angle> - This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
Test LOS before pushing : [1]
Use angles for push direction : [2]
No falloff (constant push at any distance) : [4]
Push players : [8]
Push physics : [16]
Inputs
EnableDisable:
Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.