Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VehicleTurboCondition.c
Go to the documentation of this file.
3{
4 [Attribute("0", UIWidgets.EditBox, "Checks if turbo was toggled rather than holding turbo button")]
5 protected bool m_bCheckPersistentState;
6
7 //------------------------------------------------------------------------------------------------
10 {
11 CarControllerComponent carController = CarControllerComponent.Cast(data.GetCurrentVehicleController());
12 bool result = carController && carController.IsThrottleTurbo();
13 result = result && (!m_bCheckPersistentState && data.GetCurrentVehicleTurboTime() != 0 || m_bCheckPersistentState && data.GetCurrentVehicleTurboTime() == 0);
14
15 return GetReturnResult(result);
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.
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
Returns true if driver is using full throttle feature.
SCR_FieldOfViewSettings Attribute