Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SCR_AISuppressionVolumeClusterBox Interface Reference
Inheritance diagram for SCR_AISuppressionVolumeClusterBox:
[legend]

Public Member Functions

SCR_AITargetClusterState GetClusterState ()
 
void SetClusterState (SCR_AITargetClusterState clusterState, bool scaleTarget=true)
 
- Public Member Functions inherited from SCR_AISuppressionVolumeBox
void SCR_AISuppressionVolumeBox (vector bbMin, vector bbMax)
 
override bool IsInsideVolume2D (vector insidePos)
 
override vector GetCenterPosition ()
 
- Public Member Functions inherited from SCR_AISuppressionVolumeBase
bool IsInsideVolume2D (vector insidePos)
 
vector GetRandomPosition (notnull IEntity shooter, inout vector startPos=vector.Zero, vector lastLineDir=vector.Zero)
 
vector GetCenterPosition ()
 

Static Public Member Functions

static SCR_AISuppressionVolumeClusterBox GetVolumeFromClusterState (SCR_AITargetClusterState clusterState)
 
- Static Public Member Functions inherited from SCR_AISuppressionObjectVolumeBox
static void ScaleTargetBBox (inout vector bbMin, inout vector bbMax, float distance, bool recognized=true)
 

Protected Attributes

ref SCR_AITargetClusterState m_ClusterState
 

Additional Inherited Members

- Public Attributes inherited from SCR_AISuppressionVolumeBox
vector m_vBBMin
 
vector m_vBBMax
 
- Public Attributes inherited from SCR_AISuppressionVolumeBase
ref Shape m_DebugShape
 
- Protected Member Functions inherited from SCR_AISuppressionVolumeBox
override Shape GetDebugShape ()
 
override void GetYRange (vector position, out float minY, out float maxY)
 
override vector GetOutsideEdgePos (vector direction)
 
- Protected Member Functions inherited from SCR_AISuppressionVolumeBase
void UpdateDebug ()
 
Shape GetDebugShape ()
 
vector GetOutsideEdgePos (vector direction)
 
void GetEdgePositions (vector startPos, vector dir, out vector minEdgePos, out vector maxEdgePos, out float minEdgeDist, out float maxEdgeDist)
 
void GetYRange (vector position, out float minY, out float maxY)
 
void GetWorldYRange (BaseWorld world, vector position, out float minWorldY, out float maxWorldY)
 
- Static Protected Member Functions inherited from SCR_AISuppressionVolumeBase
static void GetPositionsAreaBBox (array< vector > positions, out vector bbMin, out vector bbMax)
 
static vector RotateDirection90Degrees (vector currentDirection, bool rotateRight=true)
 
- Static Protected Attributes inherited from SCR_AISuppressionObjectVolumeBox
static const float OBJECT_VOLUME_MAX_SCALE_DISTANCE = 600.0
 
static const float OBJECT_VOLUME_MAX_SCALE = 5
 
static const float OBJECT_VOLUME_MIN_SCALE = 1.5
 
static const float TARGET_MIN_SIZE = 3
 
static const float OBJECT_VOLUME_MIN_Y = 4
 
static const float NOT_RECOGNIZED_CLUSTER_SCALE = 3
 
- Static Protected Attributes inherited from SCR_AISuppressionVolumeBase
static const float MAX_X_ANGLE_DEG = 12
 
static const float MIN_X_ANGLE_DEG = 2
 
static const float MAX_Y_ANGLE_DEG = 4
 
static const float MIN_Y_ANGLE_DEG = 0.5
 
static const float MIN_SURFACE_Y = 0.2
 
static const float CHANCE_FOR_OPPOSITE_DIR = 0.150
 

Member Function Documentation

◆ GetClusterState()

SCR_AITargetClusterState SCR_AISuppressionVolumeClusterBox.GetClusterState ( )

◆ GetVolumeFromClusterState()

static SCR_AISuppressionVolumeClusterBox SCR_AISuppressionVolumeClusterBox.GetVolumeFromClusterState ( SCR_AITargetClusterState  clusterState)
static

◆ SetClusterState()

void SCR_AISuppressionVolumeClusterBox.SetClusterState ( SCR_AITargetClusterState  clusterState,
bool  scaleTarget = true 
)

Member Data Documentation

◆ m_ClusterState

ref SCR_AITargetClusterState SCR_AISuppressionVolumeClusterBox.m_ClusterState
protected

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