Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
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)
 
void SetNavigationType (EMapNavigationType pType)
 
void UnsetNavigationType (EMapNavigationType pType)
 
EMapNavigationType GetNavigationType ()
 
void OnItemInPlayerPossession (EntityAI item)
 
void OnItemNotInPlayerPossession (EntityAI item)
 
void RandomizePosition ()
 
float RandomizedDeviation ()
 
vector GetPositionRandomized ()
 
vector GetPositionReal ()
 

Variables

enum EMapNavigationType RANDOM_DEVIATION_MIN = 4
 
const int RANDOM_DEVIATION_MAX = 15
 
int m_RandomPositionDeviationX
 
int m_RandomPositionDeviationZ
 
EMapNavigationType m_NavigationType
 
PlayerBase m_Player
 
ref array< EntityAIm_GPSInPossessionArr
 
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 ( )
protected

Definition at line 46 of file mapnavigationbehaviour.c.

◆ GetPositionRandomized()

vector GetPositionRandomized ( )
protected

Definition at line 112 of file mapnavigationbehaviour.c.

◆ GetPositionReal()

vector GetPositionReal ( )
protected

Definition at line 120 of file mapnavigationbehaviour.c.

◆ MapNavigationBehaviour()

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

Definition at line 27 of file mapnavigationbehaviour.c.

◆ OnItemInPlayerPossession()

void OnItemInPlayerPossession ( EntityAI item)
protected

Definition at line 51 of file mapnavigationbehaviour.c.

◆ OnItemNotInPlayerPossession()

void OnItemNotInPlayerPossession ( EntityAI item)
protected

Definition at line 72 of file mapnavigationbehaviour.c.

◆ RandomizedDeviation()

float RandomizedDeviation ( )
protected

Definition at line 99 of file mapnavigationbehaviour.c.

◆ RandomizePosition()

void RandomizePosition ( )
protected

Definition at line 93 of file mapnavigationbehaviour.c.

◆ SetNavigationType()

void SetNavigationType ( EMapNavigationType pType)
protected

Definition at line 36 of file mapnavigationbehaviour.c.

◆ UnsetNavigationType()

void UnsetNavigationType ( EMapNavigationType pType)
protected

Definition at line 41 of file mapnavigationbehaviour.c.

Variable Documentation

◆ m_CompassInPossessionArr

ref array<EntityAI> m_CompassInPossessionArr
protected

Definition at line 25 of file mapnavigationbehaviour.c.

◆ m_GPSInPossessionArr

ref array<EntityAI> m_GPSInPossessionArr
protected

Definition at line 24 of file mapnavigationbehaviour.c.

◆ m_NavigationType

EMapNavigationType m_NavigationType
protected

Definition at line 21 of file mapnavigationbehaviour.c.

◆ m_Player

PlayerBase m_Player
protected

Definition at line 22 of file mapnavigationbehaviour.c.

◆ m_RandomPositionDeviationX

int m_RandomPositionDeviationX
protected

Definition at line 19 of file mapnavigationbehaviour.c.

◆ m_RandomPositionDeviationZ

int m_RandomPositionDeviationZ
protected

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