Player pickup: Difference between revisions
Jump to navigation
Jump to search
Note:Kill input will cause players to release objects they are holding.
MyGamepedia (talk | contribs) (Port of https://src-ents.shoutwiki.com/wiki/Player_pickup) |
MyGamepedia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:player_pickup}} | |||
{{Ent not in fgd|nolink=1|because=there is no reason}} | {{Ent not in fgd|nolink=1|because=there is no reason}} | ||
{{CD|CPlayerPickupController|file1=weapon_physcannon.cpp}} | {{CD|CPlayerPickupController|file1=weapon_physcannon.cpp}} | ||
{{code|player_pickup}} is a [[point entity]] present in most {{source|4}} games. It's an entity the {{ent|player}} creates when they pick an object up, and keeps it "in their grip". Not used with the [[weapon_physcannon|gravity gun]], despite being in the same cpp file as it. | {{code|player_pickup}} is a [[point entity]] present in most {{source|4}} games. It's an entity the {{ent|player}} creates when they pick an object up, and keeps it "in their grip". Not used with the [[weapon_physcannon|gravity gun]], despite being in the same cpp file as it. | ||
{{note|''Kill'' input will cause players to release objects they are holding.}} | {{note|''Kill'' input will cause players to release objects they are holding.}} |
Latest revision as of 05:37, 5 September 2025

![]() |
---|
CPlayerPickupController |
![]() |
player_pickup is a point entity present in most Source games. It's an entity the player creates when they pick an object up, and keeps it "in their grip". Not used with the gravity gun, despite being in the same cpp file as it.
