53 if (
item.IsInherited(ItemGPS))
62 if (
item.IsInherited(ItemCompass))
74 if (
item.IsInherited(ItemGPS))
81 if (
item.IsInherited(ItemCompass))
vector GetPositionRandomized()
EMapNavigationType m_NavigationType
int m_RandomPositionDeviationZ
void OnItemNotInPlayerPossession(EntityAI item)
static const string GRID_SIZE_CFG_PATH
void SetNavigationType(EMapNavigationType pType)
int m_RandomPositionDeviationX
float RandomizedDeviation()
static array< int > OrderedPositionNumbersFromGridCoords(EntityAI pEntity)
void UnsetNavigationType(EMapNavigationType pType)
static bool IsOutOfMap(EntityAI pEntity)
static array< int > OrderedAltitudeNumbersPosition(EntityAI pEntity)
void OnItemInPlayerPossession(EntityAI item)
ref array< EntityAI > m_GPSInPossessionArr
void MapNavigationBehaviour(PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC)
static const int DISPLAY_GRID_POS_MAX_CHARS_COUNT
enum EMapNavigationType RANDOM_DEVIATION_MIN
static const int DISPLAY_ALT_MAX_CHARS_COUNT
const int RANDOM_DEVIATION_MAX
EMapNavigationType GetNavigationType()
ref array< EntityAI > m_CompassInPossessionArr
const int INDEX_NOT_FOUND
proto native CGame GetGame()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto int Randomize(int seed)
Sets the seed for the random number generator.
static proto int AbsInt(int i)
Returns absolute value.
static proto float Round(float f)
Returns mathematical round of value.
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].
proto native float GetWorldTime()