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

bodyque

From Valve Developer Community
Revision as of 14:32, 8 September 2024 by Nescius (talk | contribs) (Removed redirect to Bodyque)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
C++ Class hierarchy
CCorpse
CBaseEntity
C++ world.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it is automatically generated by the game.

bodyque is a point entity available in all GoldSrc GoldSrc games. Four are created when a map loads. They are used as a 'queue' for corpses in multiplayer games. This will hold the four most recently killed corpses from players, and when a fifth corpse spawns, the oldest is eliminated.