UB1InputTriggerModifierBlocker
Overview
- Custom trigger that blocks a mapping while a Modifier action (L1, R1) is held. Unlike the engine's UInputTriggerChordBlocker, it also blocks the Ongoing state. Engine ChordBlocker issue: IsBlocking() checks only the Triggered state, so pressing L1 first then another key leaves L1 Ongoing and not blocked. This class's fix: IsBlocking() checks both Triggered + Ongoing, always blocking while L1 is held.
Metadata
| Field | Value |
|---|---|
| Kind | class |
| Environment | B1 - Presentation |
| Category | classes |
| Extends | UInputTrigger |
Properties (4)
| Name | Type | Description |
|---|---|---|
ChordAction | any | The Modifier Action (L1 or R1) that is the blocking condition. |
DebugOwnerActionName | string | For debug - to be removed later. |
DebugOwnerKeyName | string | |
OwnerMappingName | string | MappingName of the action this blocker is attached to (for checking its own key). |