item_healthkit_ragdoll_clone

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CItem_HealthKitRagdoll
CRagdollProp
CBaseAnimating
CBaseEntity
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it will not heal players in this way. It is created by the game when replacing item_healthkit and item_healthvial, in this way, it will heal.

item_healthkit_ragdoll_clone is a model entity available in Black Mesa Black Mesa. This entity is a ragdoll clone of item_healthkit and item_healthvial that appears in singleplayer for prop_ragdoll features. Does not heal player if placed directly in a map or if created via ent_create item_healthkit_ragdoll_clone model "models/weapons/w_medkit.mdl".

Icon-Bug.pngBug:Doesn't collide with CBasePickup entities and weapon_ entities.

Outputs

OnPlayerDenied <void>
Fires if the player has not picked it up when touched.
OnPlayerPickup <void>
Fires if the player picked it up.

Dedicated Console Variables

Black Mesa Black Mesa

Cvar/Command Parameters or default value Descriptor Effect
cl_pickup_colorcorrection 1 Bool Enable/disable color correction when this entity is picked up.

Black Mesa (mod) Black Mesa (mod)

Cvar/Command Parameters or default value Descriptor Effect
cc_pickup_enable 1 Bool Enable/disable color correction when this entity is picked up.

See also