prop_dynamic_glow

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity
props.cpp

prop_dynamic_glow is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

A prop that can be placed in hierarchy and can play animations. It can also be configured to break when it takes enough damage. Works exactly like a prop_dynamic, but it can optionally have a custom glow around it.

AltNames.pngAltNames: This entity is also tied to prop_dynamic.

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

Glow Distance (glowdist) <integer>
Does the prop glow by default? (glowenabled) <boolean>
Defines if the prop should glow by default.
Glow Color (R G B) (glowcolor) <color255>
The color of the glow (if enabled).
Glow Style (glowstyle) <choices>
What style of glow should be used.
  • 0 : Default (through walls)
  • 1 : Shimmer (doesn't glow through walls)
  • 2 : Outline (doesn't glow through walls)
  • 3 : Outline Pulse (doesn't glow through walls)

Inputs

SetGlowEnabled
Starts the glow.
SetGlowDisabled
Stops the glow.
SetGlowColor <color255>
Change the glow's color. Format: <Red 0-255> <Green 0-255> <Blue 0-255>
GlowColorRedValue <float>
Sets the glow red color channel's value (0 - 255).
GlowColorGreenValue <float>
Sets the glow green color channel's value (0 - 255).
GlowColorBlueValue <float>
Sets the glow blue color channel's value (0 - 255).
Note.pngNote:Any other Keyvalues / Inputs / Outputs are same as prop_dynamic

See Also