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

Returns true if character has provided gadget in their inventory if m_bEquipped true is only returned if the gadget is currently held. More...

Inheritance diagram for SCR_CharacterHasGadgetCondition:
[legend]

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Returns true when current controlled entity has specified gadget 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

bool m_bEquipped
 
bool m_bNotEquipped
 
bool m_bCheckSpecificGadget
 
EGadgetType m_eGadget
 
bool m_bIsToggledOn
 
bool m_bIsToggledOff
 
- 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 character has provided gadget in their inventory if m_bEquipped true is only returned if the gadget is currently held.

Member Function Documentation

◆ IsAvailable()

override bool SCR_CharacterHasGadgetCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Returns true when current controlled entity has specified gadget Returns opposite if m_bNegateCondition is enabled.

Implements SCR_AvailableActionCondition.

Member Data Documentation

◆ m_bCheckSpecificGadget

bool SCR_CharacterHasGadgetCondition.m_bCheckSpecificGadget
protected

◆ m_bEquipped

bool SCR_CharacterHasGadgetCondition.m_bEquipped
protected

◆ m_bIsToggledOff

bool SCR_CharacterHasGadgetCondition.m_bIsToggledOff
protected

◆ m_bIsToggledOn

bool SCR_CharacterHasGadgetCondition.m_bIsToggledOn
protected

◆ m_bNotEquipped

bool SCR_CharacterHasGadgetCondition.m_bNotEquipped
protected

◆ m_eGadget

EGadgetType SCR_CharacterHasGadgetCondition.m_eGadget
protected

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