Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
AITargetCallbacksPlayer Class Reference
Inheritance diagram for AITargetCallbacksPlayer:
AITargetCallbacks

Private Member Functions

void AITargetCallbacksPlayer (PlayerBase pPlayer)
override vector GetHeadPositionWS ()
override float GetMaxVisionRangeModifier (EntityAI pApplicant)
override vector GetVisionPointPositionWS (EntityAI pApplicant)

Static Private Member Functions

static int StanceToMovementIdxTranslation (HumanMovementState pState)
 Translates players speed (idx) and corrects it by current stance used mainly for visibility/audibility of player to AI.

Private Attributes

int m_iChestBoneIndex
int m_iHeadBoneIndex
 DEPRECATED.
PlayerBase m_Player

Detailed Description

Definition at line 1 of file aitargetcallbacksplayer.c.

Constructor & Destructor Documentation

◆ AITargetCallbacksPlayer()

void AITargetCallbacksPlayer ( PlayerBase pPlayer)
inlineprivate

Definition at line 7 of file aitargetcallbacksplayer.c.

References m_iChestBoneIndex, and m_Player.

Referenced by GetMaxVisionRangeModifier().

Member Function Documentation

◆ GetHeadPositionWS()

override vector GetHeadPositionWS ( )
inlineprivate

Definition at line 14 of file aitargetcallbacksplayer.c.

References m_Player.

Referenced by GetVisionPointPositionWS().

◆ GetMaxVisionRangeModifier()

◆ GetVisionPointPositionWS()

override vector GetVisionPointPositionWS ( EntityAI pApplicant)
inlineprivate

◆ StanceToMovementIdxTranslation()

int StanceToMovementIdxTranslation ( HumanMovementState pState)
inlinestaticprivate

Translates players speed (idx) and corrects it by current stance used mainly for visibility/audibility of player to AI.

Definition at line 89 of file aitargetcallbacksplayer.c.

References HumanMovementState::m_iMovement, and HumanMovementState::m_iStanceIdx.

Referenced by GetMovementSpeedVisualCoef(), and NoiseAIEvaluate::GetNoiseMultiplierByPlayerSpeed().

Field Documentation

◆ m_iChestBoneIndex

int m_iChestBoneIndex
private

Definition at line 3 of file aitargetcallbacksplayer.c.

Referenced by AITargetCallbacksPlayer(), and GetVisionPointPositionWS().

◆ m_iHeadBoneIndex

int m_iHeadBoneIndex
private

DEPRECATED.

Definition at line 136 of file aitargetcallbacksplayer.c.

◆ m_Player


The documentation for this class was generated from the following file: