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

Function NPC_SetLookTarget

code/game/NPC_utils.cpp:1474–1483  ·  view source on GitHub ↗

------------------------- NPC_SetLookTarget ------------------------- */

Source from the content-addressed store, hash-verified

1472-------------------------
1473*/
1474void NPC_SetLookTarget( gentity_t *self, int entNum, int clearTime )
1475{
1476 if ( !self->client )
1477 {
1478 return;
1479 }
1480
1481 self->client->renderInfo.lookTarget = entNum;
1482 self->client->renderInfo.lookTargetClearTime = clearTime;
1483}
1484
1485/*
1486-------------------------

Callers 9

G_DamageFunction · 0.70
Q3_LookTargetFunction · 0.70
NPC_TempLookTargetFunction · 0.70
ClientThink_realFunction · 0.70
Jedi_CheckAmbushPlayerFunction · 0.70
Jedi_PatrolFunction · 0.70
WP_ForcePowerRunFunction · 0.70
NPC_ExecuteBStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected