Arma Reforger Script API
|
A single available action condition representation. More...
Inherited by SCR_ActiveVoNActionCondition, SCR_AvailableActionsGroupCondition, SCR_CanCharacterLeaveLadderCondition, SCR_CanItemBeInspectedCondition, SCR_CharacterBleedingCondition, SCR_CharacterCanFireWeaponCondition, SCR_CharacterCanGetOutCondition, SCR_CharacterFocusModeCondition, SCR_CharacterFreelookCondition, SCR_CharacterHasConsumableItemEquippedCondition, SCR_CharacterHasGadgetCondition, SCR_CharacterHasGadgetInHandCondition, SCR_CharacterHasItemInHandCondition, SCR_CharacterHasLongRadioCondition, SCR_CharacterHasWeaponCondition, SCR_CharacterIsFallingCondition, SCR_CharacterIsGettingInCondition, SCR_CharacterIsGettingOutCondition, SCR_CharacterIsInVehicleCondition, SCR_CharacterIsSwimmingCondition, SCR_CharacterIsUsingItem, SCR_CharacterRadioCountCondition, SCR_CharacterReloadingCondition, SCR_CharacterSprintingCondition, SCR_CharacterStanceCondition, SCR_CharacterWeaponTypeCondition, SCR_CommandMenuOpenCondition, SCR_CommandMenuSelectedCondition, SCR_DaytimeCondition, SCR_DetonatorHasConnectedChargesCondition, SCR_EditorCanEnterLayerActionCondition, SCR_EditorCountOrMoreEntitiesSelectedActionCondition, SCR_EditorFilterActionCondition, SCR_EditorHasLastNotificationLocationActionCondition, SCR_EditorHoveredEntityIsSelectedActionCondition, SCR_EditorIsStateActionCondition, SCR_EditorLessThenCountWaypointsActionCondition, SCR_EditorModeActiveActionCondition, SCR_EditorOpenedActionCondition, SCR_EditorPlaceCharacterAvailableActionCondition, SCR_GadgetSelectionCondition, SCR_HasMultipleMuzzles, SCR_HasWoundTypeCondition, SCR_HelicopterAutohoverCondition, SCR_HelicopterWheelBrakesCondition, SCR_HoveredEntityHasFlagsActionComponent, SCR_HoveredEntityIsLockedActionComponent, SCR_InventoryAvailableCondition, SCR_IsActionTriggeredCondition, SCR_IsCharacterADSCondition, SCR_IsCharacterConsciousCondition, SCR_IsCharacterInControlCondition, SCR_IsCharacterUsingLRRCondition, SCR_IsCharacterUsingRadioCondition, SCR_IsContextEnabledCondition, SCR_IsUsingMouseAndKeyboardCondition, SCR_IsUsingVariableSightsCondition, SCR_LastUsedInputDevice, SCR_MapCanActivateCondition, SCR_MapCanDragCondition, SCR_MapCanRotateCondition, SCR_MedicalItemsCountCondition, SCR_MuzzleTypeCondition, SCR_RadialMenuActiveActionCondition, SCR_RadialMenuTypeActiveActionCondition, SCR_SelectedEntitiesContainsTypeActionComponent, SCR_SightsHasIlluminationCondition, SCR_VONMenuActiveActionCondition, SCR_VehicleAltitudeAGLCondition, SCR_VehicleBrakeCondition, SCR_VehicleClutchCondition, SCR_VehicleControllerTypeCondition, SCR_VehicleDamageStateCondition, SCR_VehicleDrivingAssistanceCondition, SCR_VehicleEngineOnCondition, SCR_VehicleFuelCondition, SCR_VehicleGearCondition, SCR_VehicleHasAnyGroundContactCondition, SCR_VehicleLightsCondition, SCR_VehiclePersistentBrakeEngagedCondition, SCR_VehicleSpeedCondition, SCR_VehicleThrottleCondition, SCR_VehicleTurboCondition, SCR_VehicleWeaponAmmoCondition, SCR_WeaponAmmoCountCondition, SCR_WeaponBipodCondition, SCR_WeaponChangeSwitchOpticsCondition, SCR_WeaponFiremodeCondition, SCR_WeaponFiremodeCountCondition, SCR_WeaponHasMagazineCondition, SCR_WeaponIsRaisedCondition, SCR_WeaponMagazineCountCondition, SCR_WeaponManipulationCondition, SCR_WeaponMuzzleChamberedCondition, SCR_WeaponQuickSlotAvailableCondition, SCR_WeaponSightHasZeroingCondition, and SCR_WeaponSwitchAvailableCondition.
Public Member Functions | |
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 Member Functions | |
bool | GetReturnResult (bool desiredResult) |
Based on the state of m_bNegateCondition returns our desired result. | |
Protected Attributes | |
bool | m_bEnabled |
bool | m_bNegateCondition |
A single available action condition representation.
|
protected |
Based on the state of m_bNegateCondition returns our desired result.
bool SCR_AvailableActionCondition.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
data |
Implemented in SCR_EditorPlaceCharacterAvailableActionCondition, SCR_EditorCanEnterLayerActionCondition, SCR_EditorCountOrMoreEntitiesSelectedActionCondition, SCR_EditorFilterActionCondition, SCR_EditorHasLastNotificationLocationActionCondition, SCR_EditorHoveredEntityIsSelectedActionCondition, SCR_EditorIsStateActionCondition, SCR_EditorLessThenCountWaypointsActionCondition, SCR_EditorModeActiveActionCondition, SCR_EditorOpenedActionCondition, SCR_HoveredEntityHasFlagsActionComponent, SCR_HoveredEntityIsLockedActionComponent, SCR_SelectedEntitiesContainsTypeActionComponent, SCR_HasWoundTypeCondition, SCR_IsCharacterConsciousCondition, SCR_ActiveVoNActionCondition, SCR_CanCharacterLeaveLadderCondition, SCR_CanItemBeInspectedCondition, SCR_CharacterBleedingCondition, SCR_CharacterCanFireWeaponCondition, SCR_CharacterCanGetOutCondition, SCR_CharacterFocusModeCondition, SCR_CharacterFreelookCondition, SCR_CharacterHasConsumableItemEquippedCondition, SCR_CharacterHasGadgetCondition, SCR_CharacterHasGadgetInHandCondition, SCR_CharacterHasItemInHandCondition, SCR_CharacterHasLongRadioCondition, SCR_CharacterHasWeaponCondition, SCR_CharacterIsFallingCondition, SCR_CharacterIsGettingInCondition, SCR_CharacterIsGettingOutCondition, SCR_CharacterIsInVehicleCondition, SCR_CharacterIsSwimmingCondition, SCR_CharacterIsUsingItem, SCR_CharacterRadioCountCondition, SCR_CharacterReloadingCondition, SCR_CharacterSprintingCondition, SCR_CharacterStanceCondition, SCR_CharacterWeaponTypeCondition, SCR_DetonatorHasConnectedChargesCondition, SCR_GadgetSelectionCondition, SCR_InventoryAvailableCondition, SCR_IsCharacterADSCondition, SCR_IsCharacterInControlCondition, SCR_IsCharacterUsingRadioCondition, SCR_IsCharacterUsingLRRCondition, SCR_MedicalItemsCountCondition, SCR_WeaponQuickSlotAvailableCondition, SCR_WeaponSwitchAvailableCondition, SCR_CommandMenuOpenCondition, SCR_CommandMenuSelectedCondition, SCR_MapCanActivateCondition, SCR_MapCanDragCondition, SCR_MapCanRotateCondition, SCR_DaytimeCondition, SCR_IsActionTriggeredCondition, SCR_IsContextEnabledCondition, SCR_IsUsingMouseAndKeyboardCondition, SCR_LastUsedInputDevice, SCR_HelicopterAutohoverCondition, SCR_HelicopterWheelBrakesCondition, SCR_VehicleAltitudeAGLCondition, SCR_VehicleBrakeCondition, SCR_VehicleClutchCondition, SCR_VehicleControllerTypeCondition, SCR_VehicleDamageStateCondition, SCR_VehicleDrivingAssistanceCondition, SCR_VehicleEngineOnCondition, SCR_VehicleFuelCondition, SCR_VehicleGearCondition, SCR_VehicleHasAnyGroundContactCondition, SCR_VehicleLightsCondition, SCR_VehiclePersistentBrakeEngagedCondition, SCR_VehicleSpeedCondition, SCR_VehicleThrottleCondition, SCR_VehicleTurboCondition, SCR_VehicleWeaponAmmoCondition, SCR_HasMultipleMuzzles, SCR_IsUsingVariableSightsCondition, SCR_MuzzleTypeCondition, SCR_SightsHasIlluminationCondition, SCR_WeaponAmmoCountCondition, SCR_WeaponBipodCondition, SCR_WeaponChangeSwitchOpticsCondition, SCR_WeaponFiremodeCondition, SCR_WeaponFiremodeCountCondition, SCR_WeaponHasMagazineCondition, SCR_WeaponIsRaisedCondition, SCR_WeaponMagazineCountCondition, SCR_WeaponManipulationCondition, SCR_WeaponMuzzleChamberedCondition, SCR_WeaponSightHasZeroingCondition, SCR_ANDCondition, SCR_ORCondition, SCR_RadialMenuActiveActionCondition, SCR_RadialMenuTypeActiveActionCondition, and SCR_VONMenuActiveActionCondition.
bool SCR_AvailableActionCondition.IsEnabled | ( | ) |
Getter for an enabled flag, disabled conditions are skipped, not evaluated at all.
|
protected |
|
protected |