bodyque

From Valve Developer Community
Jump to: navigation, search
 English 

<Half-Life> bodyque is a point entity available in 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.

In code, it is represented by theCCorpseclass, defined in thehl2_gamerules.cppfile. (For Source)