This article's documentation is for anything that uses the Source engine. Click here for more information.

prop_physics_respawnable

From Valve Developer Community
Jump to: navigation, search
Class hierarchy
CPhysicsPropRespawnable
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity
props.cpp

prop_physics_respawnable is a point entity available in all Source Source games. This entity is the same as prop_physics, except it respawns a set time after breaking/exploding.

Icon-Bug.pngBug:Breaking this entity using a trigger_hurt will crash the game for all clients! (Fixed in Jabroni Brawl: Episode 3)
PlacementTip.pngWorkaround:Use a point_template to spawn a regular prop_physics each time it breaks.
  [todo tested in?]

Keyvalues

Respawn time (RespawnTime) <integer>
Amount in seconds this prop will respawn after it breaks.
Note.pngNote:Other Keyvalues / Inputs / Outputs are same as prop_physics.

See also