Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EditableEntityVehicleCompartmentVisibilityChildComponent.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/Editor (Editables)"
, description:
""
)]
2
class
SCR_EditableEntityVehicleCompartmentVisibilityChildComponentClass
:
SCR_EditableEntityVisibilityChildComponentClass
3
{
4
}
5
6
class
SCR_EditableEntityVehicleCompartmentVisibilityChildComponent : SCR_EditableEntityVisibilityChildComponent
7
{
8
//------------------------------------------------------------------------------------------------
9
//~ When compartment is added to owner make sure to update the state so it also sets the flag to VIRTUAL
10
protected
override
void
OnAddedToParent
(IEntity child, IEntity parent)
11
{
12
UpdateFromCurrentState
();
13
}
14
}
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
OnAddedToParent
SCR_EditableEntityVehicleCompartmentVisibilityChildComponentClass SCR_EditableEntityVisibilityChildComponentClass OnAddedToParent(IEntity child, IEntity parent)
Definition:
SCR_EditableEntityVehicleCompartmentVisibilityChildComponent.c:10
SCR_EditableEntityVehicleCompartmentVisibilityChildComponentClass
Definition:
SCR_EditableEntityVehicleCompartmentVisibilityChildComponent.c:2
UpdateFromCurrentState
void UpdateFromCurrentState()
Update based on current state of editable entity.
Definition:
SCR_EditableEntityBaseChildComponent.c:29
SCR_EditableEntityVisibilityChildComponentClass
Definition:
SCR_EditableEntityVisibilityChildComponent.c:2
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
Components
EditableEntityChild
SCR_EditableEntityVehicleCompartmentVisibilityChildComponent.c
Generated by
1.8.17