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

Method FindEntrySequence

src/game/server/ai_behavior_passenger.cpp:637–691  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Find the proper sequence to use (weighted by priority or distance from current position) to enter the vehicle. Input : bNearest - Use distance as the criteria for a "best" sequence. Otherwise the order of the seats is their priority. Output : int - sequence index -----------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

GetAnimationNameMethod · 0.80
VectorNormalizeFunction · 0.50
GetServerVehicleMethod · 0.45
CountMethod · 0.45
ElementMethod · 0.45
LookupSequenceMethod · 0.45
GetAbsOriginMethod · 0.45

Tested by

no test coverage detected