Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WeaponBipodCondition.c
Go to the documentation of this file.
1
4{
5 [Attribute("true", uiwidget: UIWidgets.CheckBox, "True = unfolded, False = folded")]
6 protected bool m_bBipodState;
7
8 //------------------------------------------------------------------------------------------------
12 {
13 // Only evaluate weapons equipped with bipod
14 BaseWeaponComponent weapon = data.GetCurrentWeapon();
15 return GetReturnResult(weapon && weapon.HasBipod() && weapon.GetBipod() == m_bBipodState);
16 }
17}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
A single available action condition representation.
Returns true if weapon has loaded magazine.
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
SCR_FieldOfViewSettings Attribute