Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AIWaypoint Interface Reference
Inheritance diagram for SCR_AIWaypoint:
AIWaypoint SCR_AIAnimationWaypoint SCR_AIWaypointArtillerySupport SCR_BoardingWaypoint SCR_DeploySmokeCoverWaypoint SCR_EntityWaypoint SCR_SmartActionWaypoint SCR_SuppliesTransferWaypoint SCR_TimedWaypoint SCR_TransportWaypoint

Public Member Functions

void SCR_AIWaypoint (IEntitySource src, IEntity parent)
 
float GetPriorityLevel ()
 
void SetPriorityLevel (float priority)
 
bool IsWithinCompletionRadius (vector pos)
 
ScriptInvoker GetOnWaypointPropertiesChanged ()
 
override void OnTransformResetImpl (TransformResetParams params)
 
SCR_AIWaypointState CreateWaypointState (SCR_AIGroupUtilityComponent groupUtilityComp)
 
void AddSetting (notnull SCR_AISettingBase s)
 Adds setting.
 
void GetSettings (notnull array< SCR_AISettingBase > outSettings)
 
void RemoveSetting (notnull SCR_AISettingBase s)
 
- Public Member Functions inherited from AIWaypoint
proto external float GetCompletionYPrecision ()
 
proto external void SetCompletionYPrecision (float fPrecision)
 
proto external float GetCompletionRadius ()
 
proto external void SetCompletionRadius (float r)
 
proto external EAIWaypointCompletionType GetCompletionType ()
 
proto external void SetCompletionType (EAIWaypointCompletionType newCompletionType)
 
proto external bool IsWithinCompletionRadius (AIGroup pAgent)
 Tests whether the group passes the test on being within the completion radius.
 

Protected Attributes

ref array< ref SCR_AISettingBasem_aSettings
 
ref ScriptInvoker m_OnWaypointPropertiesChanged
 

Constructor & Destructor Documentation

◆ SCR_AIWaypoint()

void SCR_AIWaypoint.SCR_AIWaypoint ( IEntitySource src,
IEntity parent )

Member Function Documentation

◆ AddSetting()

void SCR_AIWaypoint.AddSetting ( notnull SCR_AISettingBase s)

Adds setting.

It is applied only while group has this waypoint as current one. Settings must be added to waypoint before waypoint is added to the group. Settings added to waypoint while it is current for some group, will not be added to that group.

◆ CreateWaypointState()

◆ GetOnWaypointPropertiesChanged()

ScriptInvoker SCR_AIWaypoint.GetOnWaypointPropertiesChanged ( )

◆ GetPriorityLevel()

float SCR_AIWaypoint.GetPriorityLevel ( )

◆ GetSettings()

void SCR_AIWaypoint.GetSettings ( notnull array< SCR_AISettingBase > outSettings)

◆ IsWithinCompletionRadius()

bool SCR_AIWaypoint.IsWithinCompletionRadius ( vector pos)

◆ OnTransformResetImpl()

override void SCR_AIWaypoint.OnTransformResetImpl ( TransformResetParams params)

◆ RemoveSetting()

void SCR_AIWaypoint.RemoveSetting ( notnull SCR_AISettingBase s)

◆ SetPriorityLevel()

void SCR_AIWaypoint.SetPriorityLevel ( float priority)

Member Data Documentation

◆ m_aSettings

ref array<ref SCR_AISettingBase> SCR_AIWaypoint.m_aSettings
protected

◆ m_OnWaypointPropertiesChanged

ref ScriptInvoker SCR_AIWaypoint.m_OnWaypointPropertiesChanged
protected

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