Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_VehicleTurboCondition Interface Reference

Set minmum time to more than zero to track temporary turbo only, set it to -1 to track persistent turbo only. More...

Inheritance diagram for SCR_VehicleTurboCondition:
[legend]

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Override and implement this method in any inherited conditions.
 
- 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_fMinimumTime
 
- 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.
 

Detailed Description

Set minmum time to more than zero to track temporary turbo only, set it to -1 to track persistent turbo only.

Returns true if driver is using full throttle feature. Set minimum time over zero to track temporary turbo only. Set minimum time to zero to track both temporary and persistent turbo. Set minimum time below zero to track persistent turbo only.

Member Function Documentation

◆ IsAvailable()

override bool SCR_VehicleTurboCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Override and implement this method in any inherited conditions.

Use GetReturnResult prior to returning the value to take m_bNegateCondition into account

Parameters
data
Returns
availability

Implements SCR_AvailableActionCondition.

Member Data Documentation

◆ m_fMinimumTime

float SCR_VehicleTurboCondition.m_fMinimumTime
protected

The documentation for this interface was generated from the following file: