unreal.InputTriggerCombo

class unreal.InputTriggerCombo(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: InputTrigger

UInputTriggerCombo All actions in the combo array must be pressed within a timeframe to trigger

C++ Source:

  • Plugin: EnhancedInput

  • Module: EnhancedInput

  • File: InputTriggers.h

Editor Properties: (see get_editor_property/set_editor_property)

  • actuation_threshold (float): [Read-Write] Actuation Threshold: Point at which this trigger fires

  • cancel_actions (Array[InputAction]): [Read-Write] Cancel Actions: Actions that will cancel the combo if they are triggered

  • combo_actions (Array[InputComboStepData]): [Read-Write] Combo Actions: List of input actions that need to be completed to trigger this action. Input actions must be triggered in order (starting at index 0) to count towards the completion of the combo.

  • current_combo_step_index (int32): [Read-Write] Current Combo Step Index: Keeps track of what action we’re currently at in the combo

  • current_time_between_combo_steps (float): [Read-Write] Current Time Between Combo Steps: Time elapsed between last combo InputAction trigger and current time

  • last_value (InputActionValue): [Read-Write] Last Value: Value passed to UpdateState on the previous tick. This will be updated automatically after the trigger is updated.

  • should_always_tick (bool): [Read-Write] Should Always Tick: Decides whether this trigger ticks every frame or not.

    • This WILL affect performance and should only be used in specific custom triggers.

property cancel_actions: Array[InputAction]

[Read-Write] Cancel Actions: Actions that will cancel the combo if they are triggered

Type:

(Array[InputAction])

property combo_actions: Array[InputComboStepData]

[Read-Write] Combo Actions: List of input actions that need to be completed to trigger this action. Input actions must be triggered in order (starting at index 0) to count towards the completion of the combo.

Type:

(Array[InputComboStepData])

property current_combo_step_index: int

[Read-Only] Current Combo Step Index: Keeps track of what action we’re currently at in the combo

Type:

(int32)

property current_time_between_combo_steps: float

[Read-Only] Current Time Between Combo Steps: Time elapsed between last combo InputAction trigger and current time

Type:

(float)