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_ArtilleryWaypointCommandHandler.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
SCR_ArtilleryWaypointCommandHandler
:
SCR_BaseWaypointCommandHandler
3
{
4
[
Attribute
(
"-1"
,
desc
:
"Number of rounds that group will fire when issued this order.\n-1 means infinite"
,
params
:
"-1 inf"
)]
5
protected
int
m_iNumberOfRounds
;
6
7
[
Attribute
(
SCR_EAIArtilleryAmmoType
.HIGH_EXPLOSIVE.ToString(),
UIWidgets
.ComboBox,
desc
:
"Type of the ammunition that will be fired"
, enumType:
SCR_EAIArtilleryAmmoType
)]
8
protected
SCR_EAIArtilleryAmmoType
m_eAmmunitionType
;
9
10
//------------------------------------------------------------------------------------------------
11
override
void
OnWaypointCreated
(notnull
SCR_AIWaypoint
waypoint)
12
{
13
SCR_AIWaypointArtillerySupport
artilleryWaypoint =
SCR_AIWaypointArtillerySupport
.Cast(waypoint);
14
if
(!artilleryWaypoint)
15
return
;
16
17
if
(artilleryWaypoint.
GetAmmoType
() !=
m_eAmmunitionType
)
18
artilleryWaypoint.
SetAmmoType
(
m_eAmmunitionType
);
19
20
if
(artilleryWaypoint.
GetTargetShotCount
() !=
m_iNumberOfRounds
)
21
artilleryWaypoint.
SetTargetShotCount
(
m_iNumberOfRounds
);
22
}
23
24
//------------------------------------------------------------------------------------------------
25
override
void
OnWaypointIssued
(notnull
SCR_AIWaypoint
waypoint, notnull
SCR_AIGroup
group)
26
{
27
SCR_AIWaypointArtillerySupport
artilleryWaypoint =
SCR_AIWaypointArtillerySupport
.Cast(waypoint);
28
if
(!artilleryWaypoint)
29
return
;
30
31
if
(artilleryWaypoint.
IsActive
())
32
return
;
33
34
artilleryWaypoint.
SetActive
(
true
);
35
}
36
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_EAIArtilleryAmmoType
SCR_EAIArtilleryAmmoType
Definition
SCR_AIStaticArtilleryVehicleUsageComponent.c:2
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
SCR_AIGroup
Definition
SCR_AIGroup.c:75
SCR_AIWaypointArtillerySupport
Definition
SCR_AIWaypointArtillerySupport.c:6
SCR_AIWaypointArtillerySupport::SetTargetShotCount
void SetTargetShotCount(int value, bool invokeEvent=true)
Definition
SCR_AIWaypointArtillerySupport.c:17
SCR_AIWaypointArtillerySupport::GetTargetShotCount
int GetTargetShotCount()
Definition
SCR_AIWaypointArtillerySupport.c:44
SCR_AIWaypointArtillerySupport::SetAmmoType
void SetAmmoType(SCR_EAIArtilleryAmmoType value, bool invokeEvent=true)
Definition
SCR_AIWaypointArtillerySupport.c:35
SCR_AIWaypointArtillerySupport::GetAmmoType
SCR_EAIArtilleryAmmoType GetAmmoType()
Definition
SCR_AIWaypointArtillerySupport.c:56
SCR_AIWaypointArtillerySupport::SetActive
void SetActive(bool value, bool invokeEvent=true)
Definition
SCR_AIWaypointArtillerySupport.c:26
SCR_AIWaypointArtillerySupport::IsActive
bool IsActive()
Definition
SCR_AIWaypointArtillerySupport.c:50
SCR_AIWaypoint
Definition
SCR_AIWaypoint.c:6
SCR_ArtilleryWaypointCommandHandler
Definition
SCR_ArtilleryWaypointCommandHandler.c:3
SCR_ArtilleryWaypointCommandHandler::OnWaypointCreated
override void OnWaypointCreated(notnull SCR_AIWaypoint waypoint)
Definition
SCR_ArtilleryWaypointCommandHandler.c:11
SCR_ArtilleryWaypointCommandHandler::OnWaypointIssued
override void OnWaypointIssued(notnull SCR_AIWaypoint waypoint, notnull SCR_AIGroup group)
Definition
SCR_ArtilleryWaypointCommandHandler.c:25
SCR_ArtilleryWaypointCommandHandler::m_iNumberOfRounds
int m_iNumberOfRounds
Definition
SCR_ArtilleryWaypointCommandHandler.c:5
SCR_ArtilleryWaypointCommandHandler::m_eAmmunitionType
SCR_EAIArtilleryAmmoType m_eAmmunitionType
Definition
SCR_ArtilleryWaypointCommandHandler.c:8
SCR_BaseWaypointCommandHandler
Definition
SCR_BaseWaypointCommandHandler.c:3
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Commanding
Commands
SCR_ArtilleryWaypointCommandHandler.c
Generated by
1.17.0