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

Returns true if current vehicle lights are enabled. More...

Inheritance diagram for SCR_VehicleLightsCondition:
[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.
 

Public Attributes

ELightType m_eLightType
 

Protected Attributes

int m_iLightSide
 Side of turn signals.
 
- 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 lights are enabled.

Member Function Documentation

◆ IsAvailable()

override bool SCR_VehicleLightsCondition.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_eLightType

ELightType SCR_VehicleLightsCondition.m_eLightType

◆ m_iLightSide

int SCR_VehicleLightsCondition.m_iLightSide
protected

Side of turn signals.


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