Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_TimedWaypoint.c
Go to the documentation of this file.
1
class
SCR_TimedWaypointClass
:
SCR_EntityWaypointClass
2
{
3
};
4
5
[
BaseContainerProps
()]
6
class
SCR_AITimedWaypointParameters
7
{
8
[
Attribute
(
""
,
UIWidgets
.EditBox,
"Minimal time to hold the waypoint before it completes"
)]
9
float
m_holdingTime;
10
11
//------------------------------------------------------------------------------------------------
12
float
GetParameters()
13
{
14
return
m_holdingTime;
15
}
16
17
//------------------------------------------------------------------------------------------------
18
void
SetParameters(
float
holdingTime)
19
{
20
m_holdingTime = holdingTime;
21
}
22
};
23
24
class
SCR_TimedWaypoint
:
SCR_AIWaypoint
25
{
26
[
Attribute
(
""
,
UIWidgets
.Object,
"Waypoint parameters"
)]
27
ref
SCR_AITimedWaypointParameters
m_TimedWaypointParameters;
28
29
//------------------------------------------------------------------------------------------------
30
float
GetHoldingTime()
31
{
32
if
(m_TimedWaypointParameters)
33
return
m_TimedWaypointParameters.GetParameters();
34
return
0;
35
}
36
37
//------------------------------------------------------------------------------------------------
38
void
SetHoldingTime(
float
holdingTime)
39
{
40
if
(m_TimedWaypointParameters)
41
m_TimedWaypointParameters.SetParameters(holdingTime);
42
}
43
};
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_AITimedWaypointParameters
Definition
SCR_TimedWaypoint.c:7
SCR_AIWaypoint::SCR_AIWaypoint
void SCR_AIWaypoint(IEntitySource src, IEntity parent)
Definition
SCR_AIWaypoint.c:16
SCR_EntityWaypointClass
Definition
SCR_EntityWaypoint.c:2
SCR_TimedWaypointClass
Definition
SCR_TimedWaypoint.c:2
SCR_TimedWaypoint
Definition
SCR_TimedWaypoint.c:25
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
AI
Group
SCR_TimedWaypoint.c
Generated by
1.17.0