Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EntityWaypoint.c
Go to the documentation of this file.
1
class
SCR_EntityWaypointClass
:
SCR_AIWaypointClass
2
{
3
};
4
5
class
SCR_EntityWaypoint
:
SCR_AIWaypoint
6
{
7
[
Attribute
(
""
, UIWidgets.EditBox,
"Related entity"
)]
8
private
string
m_sEntityName;
9
private
IEntity m_Entity;
10
11
//------------------------------------------------------------------------------------------------
12
string
GetEntityName()
13
{
14
return
m_sEntityName;
15
}
16
17
//------------------------------------------------------------------------------------------------
18
void
SetEntityName(
string
entityName)
19
{
20
m_sEntityName = entityName;
21
}
22
23
//------------------------------------------------------------------------------------------------
24
void
SetEntity(IEntity entity)
25
{
26
m_Entity
= entity;
27
}
28
29
//------------------------------------------------------------------------------------------------
30
IEntity GetEntity()
31
{
32
if
(
m_Entity
)
33
{
34
return
m_Entity
;
35
}
36
37
SetEntity(
GetGame
().GetWorld().
FindEntityByName
(m_sEntityName));
38
return
m_Entity
;
39
}
40
};
SCR_AIWaypointClass
Definition:
SCR_AIWaypoint.c:1
GetGame
ArmaReforgerScripted GetGame()
Definition:
game.c:1424
SCR_AIWaypoint
Definition:
SCR_AIWaypoint.c:5
m_Entity
enum EAITargetInfoCategory m_Entity
FindEntityByName
IEntity FindEntityByName(string name)
Definition:
SCR_ScenarioFrameworkActionsGetters.c:40
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_EntityWaypointClass
Definition:
SCR_EntityWaypoint.c:1
SCR_EntityWaypoint
Definition:
SCR_EntityWaypoint.c:5
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
AI
Group
SCR_EntityWaypoint.c
Generated by
1.8.17