Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AIGetRandomPointWithExclude Interface Reference
Inheritance diagram for SCR_AIGetRandomPointWithExclude:
AITaskScripted AITask Node

Public Member Functions

override array< string > GetVariablesIn ()
 
override array< string > GetVariablesOut ()
 
override ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
 Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.
 
- Public Member Functions inherited from AITaskScripted
void OnEnter (AIAgent owner)
 
void OnInit (AIAgent owner)
 
void OnAbort (AIAgent owner, Node nodeCausingAbort)
 
- Public Member Functions inherited from Node
proto external int GetNodeID ()
 
proto external TypeName GetVariableType (bool inputPort, string name)
 
proto bool GetVariableIn (string name, out void val)
 
proto void SetVariableOut (string name, void val)
 
proto void ClearVariable (string name)
 
proto void GetCallstackStr (out string val)
 
proto void GetParentTreeName (out string val)
 

Static Public Member Functions

static override bool VisibleInPalette ()
 

Static Public Attributes

static const string ENTITY_PORT = "Entity"
 
static const string ORIGIN_PORT = "SearchCenter"
 
static const string RADIUS_PORT = "SearchRadius"
 
static const string EXCLUSION_ORIGIN_PORT = "ExclusionCenter"
 
static const string EXCLUSION_RADIUS_PORT = "ExclusionRadius"
 
static const string PORT_RESULT_VECTOR = "Position"
 

Protected Member Functions

bool FindPosition2D (out vector randomPos, vector randomSphereOrigin, float randomSphereRadius, vector excludeSphereOrigin=vector.Zero, float excludeRadius=0, int iterationCount=50)
 
- Protected Member Functions inherited from AITaskScripted
string GetNodeMiddleText ()
 

Static Protected Member Functions

static override string GetOnHoverDescription ()
 
- Static Protected Member Functions inherited from Node
static bool CanReturnRunning ()
 

Protected Attributes

vector m_vSearchCenter
 
float m_fSearchRadius
 
vector m_vExcludeCenter
 
float m_fExcludeRadius
 
int m_iIterationCount
 

Static Protected Attributes

static ref TStringArray s_aVarsIn
 
static ref TStringArray s_aVarsOut
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Member Function Documentation

◆ EOnTaskSimulate()

override ENodeResult SCR_AIGetRandomPointWithExclude.EOnTaskSimulate ( AIAgent owner,
float dt )

Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.

Implements AITaskScripted.

◆ FindPosition2D()

bool SCR_AIGetRandomPointWithExclude.FindPosition2D ( out vector randomPos,
vector randomSphereOrigin,
float randomSphereRadius,
vector excludeSphereOrigin = vector::Zero,
float excludeRadius = 0,
int iterationCount = 50 )
protected

◆ GetOnHoverDescription()

static override string SCR_AIGetRandomPointWithExclude.GetOnHoverDescription ( )
staticprotected

Implements Node.

◆ GetVariablesIn()

override array< string > SCR_AIGetRandomPointWithExclude.GetVariablesIn ( )

Implements Node.

◆ GetVariablesOut()

override array< string > SCR_AIGetRandomPointWithExclude.GetVariablesOut ( )

Implements Node.

◆ VisibleInPalette()

static override bool SCR_AIGetRandomPointWithExclude.VisibleInPalette ( )
static

Implements Node.

Member Data Documentation

◆ ENTITY_PORT

const string SCR_AIGetRandomPointWithExclude.ENTITY_PORT = "Entity"
static

◆ EXCLUSION_ORIGIN_PORT

const string SCR_AIGetRandomPointWithExclude.EXCLUSION_ORIGIN_PORT = "ExclusionCenter"
static

◆ EXCLUSION_RADIUS_PORT

const string SCR_AIGetRandomPointWithExclude.EXCLUSION_RADIUS_PORT = "ExclusionRadius"
static

◆ m_fExcludeRadius

float SCR_AIGetRandomPointWithExclude.m_fExcludeRadius
protected

◆ m_fSearchRadius

float SCR_AIGetRandomPointWithExclude.m_fSearchRadius
protected

◆ m_iIterationCount

int SCR_AIGetRandomPointWithExclude.m_iIterationCount
protected

◆ m_vExcludeCenter

vector SCR_AIGetRandomPointWithExclude.m_vExcludeCenter
protected

◆ m_vSearchCenter

vector SCR_AIGetRandomPointWithExclude.m_vSearchCenter
protected

◆ ORIGIN_PORT

const string SCR_AIGetRandomPointWithExclude.ORIGIN_PORT = "SearchCenter"
static

◆ PORT_RESULT_VECTOR

const string SCR_AIGetRandomPointWithExclude.PORT_RESULT_VECTOR = "Position"
static

◆ RADIUS_PORT

const string SCR_AIGetRandomPointWithExclude.RADIUS_PORT = "SearchRadius"
static

◆ s_aVarsIn

ref TStringArray SCR_AIGetRandomPointWithExclude.s_aVarsIn
staticprotected
Initial value:
= {
}
static const string ENTITY_PORT
Definition SCR_AICreateTargetInfo.c:5
static const string EXCLUSION_ORIGIN_PORT
Definition SCR_AIGetRandomPointWithExclude.c:6
static const string EXCLUSION_RADIUS_PORT
Definition SCR_AIGetRandomPointWithExclude.c:7
static const string RADIUS_PORT
Definition SCR_AIGetRandomPoint.c:5
static const string ORIGIN_PORT
Definition SCR_AIGetRandomPoint.c:4

◆ s_aVarsOut

ref TStringArray SCR_AIGetRandomPointWithExclude.s_aVarsOut
staticprotected
Initial value:
= {
}
static const string PORT_RESULT_VECTOR
Definition SCR_AIGetPosForward.c:4

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