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

Prop physics respawnable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(see also)
Line 20: Line 20:
** {{ent|prop_static}}
** {{ent|prop_static}}
** {{ent|prop_ragdoll}}
** {{ent|prop_ragdoll}}
* {{ent|func_proprrespawnzone}}


[[Category:Physics]]
[[Category:Physics]]
[[Category:Prop entities|physics respawnable]]
[[Category:Prop entities|physics respawnable]]

Revision as of 02:02, 14 March 2025

C++ Class hierarchy
CPhysicsPropRespawnable
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity
C++ 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