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
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-otherkio)
Line 7: Line 7:
== Keyvalues ==
== Keyvalues ==
{{KV|Respawn time|intn=RespawnTime|int|Amount in seconds this prop will respawn after it breaks.}}
{{KV|Respawn time|intn=RespawnTime|int|Amount in seconds this prop will respawn after it breaks.}}
{{note|All other keyvalues / inputs / outputs are identical to [[prop_physics]]}}
 
{{OtherKIO|prop_physics}}


== See also ==
== See also ==

Revision as of 08:43, 2 July 2024

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