Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VehicleDamageStateCondition.c
Go to the documentation of this file.
3{
4 [Attribute(defvalue: EDamageState.INTERMEDIARY.ToString(), desc: "Compared value of vehicle damage state", uiwidget: UIWidgets.ComboBox, enumType: EDamageState)]
5 private EDamageState m_eValue;
6
7 //------------------------------------------------------------------------------------------------
8 override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
9 {
10 IEntity vehicle = data.GetCurrentVehicle();
11 if (!vehicle)
12 return false;
13
15 return GetReturnResult(damageManager && damageManager.GetState() == m_eValue);
16 }
17}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
proto external Managed FindComponent(typename typeName)
A single available action condition representation.
SCR_FieldOfViewSettings Attribute
EDamageState