Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIWaypoint.c
Go to the documentation of this file.
1
class
SCR_AIWaypointClass
: AIWaypointClass
2
{
3
};
4
5
class
SCR_AIWaypoint
: AIWaypoint
6
{
7
[
Attribute
(
"0"
, UIWidgets.SpinBox,
"Waypoint priority level"
,
"0 2000 1000"
)]
8
private
float
m_fPriorityLevel;
9
10
//------------------------------------------------------------------------------------------------
11
float
GetPriorityLevel()
12
{
13
return
m_fPriorityLevel
;
14
}
15
16
//------------------------------------------------------------------------------------------------
17
void
SetPriorityLevel(
float
priority)
18
{
19
m_fPriorityLevel
= priority;
20
}
21
22
//------------------------------------------------------------------------------------------------
23
bool
IsWithinCompletionRadius(vector pos)
24
{
25
return
vector.DistanceXZ(
GetOrigin
(), pos) < GetCompletionRadius();
26
}
27
28
//------------------------------------------------------------------------------------------------
29
// Override this to create a custom waypoint state object.
30
SCR_AIWaypointState
CreateWaypointState(SCR_AIGroupUtilityComponent groupUtilityComp)
31
{
32
return
new
SCR_AIWaypointState
(groupUtilityComp,
this
);
33
}
34
};
SCR_AIWaypointClass
Definition:
SCR_AIWaypoint.c:1
SCR_AIWaypoint
Definition:
SCR_AIWaypoint.c:5
SCR_AIWaypointState
Definition:
SCR_AIWaypointState.c:6
m_fPriorityLevel
float m_fPriorityLevel
Definition:
SendGoalMessage.c:3
GetOrigin
vector GetOrigin()
Definition:
SCR_AIUtilityComponent.c:279
Attribute
typedef Attribute
Post-process effect of scripted camera.
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
AI
Group
SCR_AIWaypoint.c
Generated by
1.8.17