MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FindPickerEntity

Function FindPickerEntity

src/game/server/player.cpp:5986–6003  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Finds the nearest entity in front of the player, preferring collidable entities, but allows selection of enities that are on the other side of walls or objects Input : Output : -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

GetNextCommandEntityFunction · 0.85
ConsoleKillTargetFunction · 0.85
CC_AI_HullFunction · 0.85
CC_NPC_FreezeFunction · 0.85
ai_concommands.cppFile · 0.85
FindEntityProceduralMethod · 0.85
CC_Ent_KeyvalueFunction · 0.85
CC_Ent_RotateFunction · 0.85
DrawAllDebugOverlaysFunction · 0.85
GetBugReportInfoMethod · 0.85
ai_speech.cppFile · 0.85
ConsoleFireTargetsFunction · 0.85

Calls 4

FindEntityForwardFunction · 0.85
EyeVectorsMethod · 0.80
WorldSpaceCenterMethod · 0.80

Tested by 2

TestVCDFunction · 0.68
TestRRFunction · 0.68