95 if (
entity.IsScriptedLight())
97 if (
entity.IsBeingPlaced())
149 if (
entity.IsScriptedLight())
151 if (
entity.IsBeingPlaced())
159 if (!
item.IsTakeable())
177 if (
entity.IsScriptedLight())
179 if (
entity.IsBeingPlaced())
void DayZPlayerUtils()
cannot be instantiated
class JsonUndergroundAreaTriggerData GetPosition
Class that holds parameters to feed into CGame.IsBoxCollidingGeometryProxy.
represents base for cargo storage for entities
Super root of all classes in Enforce script.
static proto bool RaycastRVProxy(notnull RaycastRVParams in, out notnull array< ref RaycastRVResult > results, array< Object > excluded=null)
static Shape DrawSphere(vector pos, float size=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
static Shape DrawArrow(vector from, vector to, float size=0.5, int color=0xFFFFFFFF, int flags=0)
static Shape DrawLine(vector from, vector to, int color=0xFFFFFFFF, int flags=0)
script counterpart to engine's class Inventory
static proto native bool CheckManipulatedObjectsDistances(notnull EntityAI e0, notnull EntityAI e1, float radius)
bool IsObstructed(Object filtered_object)
const float VICINITY_CONE_DISTANCE
void ResetRefreshCounter()
const float VICINITY_CONE_REACH_DISTANCE
void AddVicinityCargos(CargoBase object)
array< EntityAI > GetVicinityItems()
const float VICINITY_ACTOR_DISTANCE
void Update(float delta_time)
const float CONE_HEIGHT_MIN
bool ExcludeFromContainer_Phase3(Object object_in_cone)
bool ExcludeFromContainer_Phase1(Object actor_in_radius)
static ref VicinityItemManager s_Instance
array< CargoBase > GetVicinityCargos()
const float CONE_HEIGHT_MAX
void RefreshVicinityItems()
const float VICINITY_LARGE_ACTOR_DISTANCE
static VicinityItemManager GetInstance()
const int OBJECT_OBSTRUCTION_WEIGHT
void AddVicinityItems(Object object)
const float VICINITY_CONE_RADIANS
const float VICINITY_CONE_ANGLE
const float HEIGHT_OFFSET
ref array< EntityAI > m_VicinityItems
const float UPDATE_FREQUENCY
const float VICINITY_DISTANCE
bool ExcludeFromContainer_Phase2(Object object_in_radius)
bool CanIgnoreDistanceCheck(EntityAI entity_ai)
ref array< CargoBase > m_VicinityCargos
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
static float Dot(vector v1, vector v2)
Returns Dot product of vector v1 and vector v2.
const int INDEX_NOT_FOUND
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static const float PI_HALF
static proto float Cos(float angle)
Returns cosinus of angle in radians.
static proto float Sin(float angle)
Returns sinus of angle in radians.
static const float DEG2RAD