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

gibshooter

From Valve Developer Community
Jump to: navigation, search
Class hierarchy
CGibShooter
CBaseDelay
CBaseEntity
effects.cpp

gibshooter is a point entity available in all GoldSrc GoldSrc games. It shoots out giblets. Style of body part depends on language type.

Key Values

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
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.
Number of Gibs (m_iGibs) <integer>
Total number of gibs to shoot each time the entity should shoot.
Delay between shots (delay) <string>
Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
Gib Velocity (m_flVelocity) <integer>
Speed of the fired gibs.
Course Variance (m_flVariance) <string>
How much variance in the direction gibs are fired.
Gib Life (m_flGibLife) <string>
Time in seconds for gibs to live +/- 5%.

Flags

Repeatable : [1]