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_WheelSlotComponent.c
Go to the documentation of this file.
1
#define ENABLE_BASE_DESTRUCTION
2
//------------------------------------------------------------------------------------------------
3
class
SCR_WheelSlotComponentClass
:
BaseSlotComponentClass
4
{
5
};
6
7
class
SCR_WheelSlotComponent
:
BaseSlotComponent
8
{
9
[
Attribute
(
"0"
,
UIWidgets
.Slider,
"Corresponding index to the wheel definition in VehicleWheeledSimulation (-1 means ignore)"
,
"-1 1000 1"
)]
10
int
m_iWheelIndex;
11
#ifdef ENABLE_BASE_DESTRUCTION
12
//------------------------------------------------------------------------------------------------
13
override
void
OnAttachedEntity(
IEntity
ent)
14
{
15
SCR_DestructionTireComponent tire = SCR_DestructionTireComponent.Cast(ent.
FindComponent
(SCR_DestructionTireComponent));
16
if
(tire)
17
tire.SetWheelIndex(m_iWheelIndex);
18
}
19
#endif
20
};
BaseSlotComponentClass
Definition
BaseSlotComponentClass.c:13
BaseSlotComponent
Definition
BaseSlotComponent.c:13
IEntity
Definition
IEntity.c:13
IEntity::FindComponent
proto external Managed FindComponent(typename typeName)
SCR_WheelSlotComponentClass
Definition
SCR_WheelSlotComponent.c:4
SCR_WheelSlotComponent
Definition
SCR_WheelSlotComponent.c:8
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Vehicle
SCR_WheelSlotComponent.c
Generated by
1.17.0