bodyque

From Valve Developer Community
Revision as of 19:05, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Jump to navigation Jump to search
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 Half-Life Half-Life. 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. This entity is in Source as well, but does not do anything. It's advised to not put these directly into a map.

C++ In code, it is represented by theCCorpseclass, defined in thehl2_gamerules.cppfile.

(For Source)