MCPcopy Create free account
hub / github.com/JACoders/OpenJK / NPC_FaceEntity

Function NPC_FaceEntity

code/game/NPC_utils.cpp:1402–1410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1400*/
1401
1402qboolean NPC_FaceEntity( gentity_t *ent, qboolean doPitch )
1403{
1404 vec3_t entPos;
1405
1406 //Get the positions
1407 CalcEntitySpot( ent, SPOT_HEAD_LEAN, entPos );
1408
1409 return NPC_FacePosition( entPos, doPitch );
1410}
1411
1412/*
1413-------------------------

Callers 6

Jedi_PatrolFunction · 0.70
NPC_BSJedi_FollowLeaderFunction · 0.70
Kothos_PowerRoshFunction · 0.70
Jedi_InSpecialMoveFunction · 0.70
NPC_Howler_MoveFunction · 0.70
NPC_FaceEnemyFunction · 0.70

Calls 2

CalcEntitySpotFunction · 0.70
NPC_FacePositionFunction · 0.70

Tested by

no test coverage detected