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

Returns true if current vehicle speed matches the condition. More...

Inheritance diagram for SCR_VehicleSpeedCondition:
[legend]

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Returns true when current controlled vehicle speed matches the condition by operator 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

SCR_ComparerOperator m_eOperator
 
float m_fValue
 
SignalsManagerComponent m_Signals
 
int m_iSpeedID = -1
 
- 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

Returns true if current vehicle speed matches the condition.

Member Function Documentation

◆ IsAvailable()

override bool SCR_VehicleSpeedCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Returns true when current controlled vehicle speed matches the condition by operator Returns opposite if m_bNegateCondition is enabled.

Implements SCR_AvailableActionCondition.

Member Data Documentation

◆ m_eOperator

SCR_ComparerOperator SCR_VehicleSpeedCondition.m_eOperator
protected

◆ m_fValue

float SCR_VehicleSpeedCondition.m_fValue
protected

◆ m_iSpeedID

int SCR_VehicleSpeedCondition.m_iSpeedID = -1
protected

◆ m_Signals

SignalsManagerComponent SCR_VehicleSpeedCondition.m_Signals
protected

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