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

Public Member Functions

void SCR_AISuppressionVolumeSphere (vector pos, float radius)
 
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 ()
 

Public Attributes

vector m_vPos
 
float m_fRadius
 
- Public Attributes inherited from SCR_AISuppressionVolumeBase
ref Shape m_DebugShape
 

Protected Member Functions

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)
 

Additional Inherited Members

- 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_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
 

Constructor & Destructor Documentation

◆ SCR_AISuppressionVolumeSphere()

void SCR_AISuppressionVolumeSphere.SCR_AISuppressionVolumeSphere ( vector  pos,
float  radius 
)

Member Function Documentation

◆ GetCenterPosition()

override vector SCR_AISuppressionVolumeSphere.GetCenterPosition ( )

◆ GetDebugShape()

override Shape SCR_AISuppressionVolumeSphere.GetDebugShape ( )
protected

◆ GetOutsideEdgePos()

override vector SCR_AISuppressionVolumeSphere.GetOutsideEdgePos ( vector  direction)
protected

◆ GetYRange()

override void SCR_AISuppressionVolumeSphere.GetYRange ( vector  position,
out float  minY,
out float  maxY 
)
protected

◆ IsInsideVolume2D()

override bool SCR_AISuppressionVolumeSphere.IsInsideVolume2D ( vector  insidePos)

Member Data Documentation

◆ m_fRadius

float SCR_AISuppressionVolumeSphere.m_fRadius

◆ m_vPos

vector SCR_AISuppressionVolumeSphere.m_vPos

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