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

Returns true if character is using weapon of given type. More...

Inheritance diagram for SCR_CharacterWeaponTypeCondition:
[legend]

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Returns true when current controlled entity has a weapon equipped of given type 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.
 

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.
 
- Protected Attributes inherited from SCR_AvailableActionCondition
bool m_bEnabled
 
bool m_bNegateCondition
 

Detailed Description

Returns true if character is using weapon of given type.

Member Function Documentation

◆ IsAvailable()

override bool SCR_CharacterWeaponTypeCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Returns true when current controlled entity has a weapon equipped of given type Returns opposite if m_bNegateCondition is enabled.

Implements SCR_AvailableActionCondition.


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