Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BoardingWaypoint.c
Go to the documentation of this file.
2 {
3 };
4 
6 {
7  bool m_bIsDriverAllowed;
8  bool m_bIsGunnerAllowed;
9  bool m_bIsCargoAllowed;
10 };
11 
13 {
14  [Attribute("", UIWidgets.CheckBox, "Occupy driver")]
15  private bool m_bDriverAllowed;
16 
17  [Attribute("", UIWidgets.CheckBox, "Occupy gunner")]
18  private bool m_bGunnerAllowed;
19 
20  [Attribute("", UIWidgets.CheckBox, "Occupy cargo")]
21  private bool m_bCargoAllowed;
22 
23  private ref SCR_AIBoardingWaypointParameters m_Parameters;
24  //------------------------------------------------------------------------------------------------
26  {
27  return m_Parameters;
28  }
29 
30  //------------------------------------------------------------------------------------------------
31  void SetAllowance(bool driverAllowed, bool gunnerAllowed, bool cargoAllowed)
32  {
33  m_Parameters.m_bIsDriverAllowed = driverAllowed;
34  m_Parameters.m_bIsGunnerAllowed = gunnerAllowed;
35  m_Parameters.m_bIsCargoAllowed = cargoAllowed;
36  }
37 
38  //------------------------------------------------------------------------------------------------
39  override void EOnInit(IEntity owner)
40  {
41  m_Parameters = new SCR_AIBoardingWaypointParameters;
42  m_Parameters.m_bIsDriverAllowed = m_bDriverAllowed;
43  m_Parameters.m_bIsGunnerAllowed = m_bGunnerAllowed;
44  m_Parameters.m_bIsCargoAllowed = m_bCargoAllowed;
45  }
46 };
SCR_TimedWaypoint
Definition: SCR_TimedWaypoint.c:5
SCR_BoardingWaypoint
Definition: SCR_BoardingWaypoint.c:12
SCR_AIBoardingWaypointParameters
Definition: SCR_BoardingWaypoint.c:5
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_TimedWaypointClass
Definition: SCR_TimedWaypoint.c:1
SCR_BoardingWaypointClass
Definition: SCR_BoardingWaypoint.c:1