Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
mapnavigationbehaviour.c File Reference

Go to the source code of this file.

Enumerations

enum  EMapNavigationType { BASIC = 0, COMPASS = 1, GPS = 2, ALL = 4 }
 

Functions

void MapNavigationBehaviour (PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC)
 
protected void SetNavigationType (EMapNavigationType pType)
 
protected void UnsetNavigationType (EMapNavigationType pType)
 
EMapNavigationType GetNavigationType ()
 
void OnItemInPlayerPossession (EntityAI item)
 
void OnItemNotInPlayerPossession (EntityAI item)
 
void RandomizePosition ()
 
protected float RandomizedDeviation ()
 
vector GetPositionRandomized ()
 
vector GetPositionReal ()
 

Variables

enum EMapNavigationType RANDOM_DEVIATION_MIN = 4
 
const int RANDOM_DEVIATION_MAX = 15
 
protected int m_RandomPositionDeviationX
 
protected int m_RandomPositionDeviationZ
 
protected EMapNavigationType m_NavigationType
 
protected PlayerBase m_Player
 
protected ref array< EntityAIm_GPSInPossessionArr
 
protected ref array< EntityAIm_CompassInPossessionArr
 

Enumeration Type Documentation

◆ EMapNavigationType

Enumerator
BASIC 
COMPASS 
GPS 
ALL 

Definition at line 1 of file mapnavigationbehaviour.c.

Function Documentation

◆ GetNavigationType()

EMapNavigationType GetNavigationType ( )

Definition at line 46 of file mapnavigationbehaviour.c.

◆ GetPositionRandomized()

vector GetPositionRandomized ( )

Definition at line 112 of file mapnavigationbehaviour.c.

◆ GetPositionReal()

vector GetPositionReal ( )

Definition at line 120 of file mapnavigationbehaviour.c.

◆ MapNavigationBehaviour()

void MapNavigationBehaviour ( PlayerBase  pPlayer,
EMapNavigationType  pNavigationType = EMapNavigationType.BASIC 
)

Definition at line 27 of file mapnavigationbehaviour.c.

◆ OnItemInPlayerPossession()

void OnItemInPlayerPossession ( EntityAI  item)

Definition at line 51 of file mapnavigationbehaviour.c.

◆ OnItemNotInPlayerPossession()

void OnItemNotInPlayerPossession ( EntityAI  item)

Definition at line 72 of file mapnavigationbehaviour.c.

◆ RandomizedDeviation()

protected float RandomizedDeviation ( )

Definition at line 99 of file mapnavigationbehaviour.c.

◆ RandomizePosition()

void RandomizePosition ( )

Definition at line 93 of file mapnavigationbehaviour.c.

◆ SetNavigationType()

protected void SetNavigationType ( EMapNavigationType  pType)

Definition at line 36 of file mapnavigationbehaviour.c.

◆ UnsetNavigationType()

protected void UnsetNavigationType ( EMapNavigationType  pType)

Definition at line 41 of file mapnavigationbehaviour.c.

Variable Documentation

◆ m_CompassInPossessionArr

protected ref array<EntityAI> m_CompassInPossessionArr

Definition at line 25 of file mapnavigationbehaviour.c.

◆ m_GPSInPossessionArr

protected ref array<EntityAI> m_GPSInPossessionArr

Definition at line 24 of file mapnavigationbehaviour.c.

◆ m_NavigationType

protected EMapNavigationType m_NavigationType

Definition at line 21 of file mapnavigationbehaviour.c.

◆ m_Player

protected PlayerBase m_Player

Definition at line 22 of file mapnavigationbehaviour.c.

◆ m_RandomPositionDeviationX

protected int m_RandomPositionDeviationX

Definition at line 19 of file mapnavigationbehaviour.c.

◆ m_RandomPositionDeviationZ

protected int m_RandomPositionDeviationZ

Definition at line 20 of file mapnavigationbehaviour.c.

◆ RANDOM_DEVIATION_MAX

const int RANDOM_DEVIATION_MAX = 15

Definition at line 12 of file mapnavigationbehaviour.c.

◆ RANDOM_DEVIATION_MIN

enum EMapNavigationType RANDOM_DEVIATION_MIN = 4