Arma Reforger Script API
|
Returns true if vehicle's clutch is at least at specified threshold. More...
Public Member Functions | |
override bool | IsAvailable (SCR_AvailableActionsConditionData data) |
Returns true when current gear matches the condition Returns opposite if m_bNegateCondition is enabled. | |
Public Member Functions inherited from SCR_AvailableActionCondition | |
bool | IsEnabled () |
Getter for an enabled flag, disabled conditions are skipped, not evaluated at all. | |
bool | IsAvailable (SCR_AvailableActionsConditionData data) |
Override and implement this method in any inherited conditions. | |
Protected Attributes | |
float | m_fMinimumClutch |
Protected Attributes inherited from SCR_AvailableActionCondition | |
bool | m_bEnabled |
bool | m_bNegateCondition |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_AvailableActionCondition | |
bool | GetReturnResult (bool desiredResult) |
Based on the state of m_bNegateCondition returns our desired result. | |
Returns true if vehicle's clutch is at least at specified threshold.
override bool SCR_VehicleClutchCondition.IsAvailable | ( | SCR_AvailableActionsConditionData | data | ) |
Returns true when current gear matches the condition Returns opposite if m_bNegateCondition is enabled.
Implements SCR_AvailableActionCondition.
|
protected |