unreal.InputTriggerCombo
¶
- class unreal.InputTriggerCombo(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InputTrigger
UInputTriggerCombo All actions in the combo array must be completed (based on combo completion event specified - triggered, completed, etc.) to trigger the action this trigger is on. Actions must also be completed in the order specified by the combo actions array (starting at index 0). Note: This will only trigger for one frame before resetting the combo trigger’s progress
C++ Source:
Plugin: EnhancedInput
Module: EnhancedInput
File: InputTriggers.h
Editor Properties: (see get_editor_property/set_editor_property)
actuation_threshold
(float): [Read-Write] Point at which this trigger firescombo_actions
(Array[InputComboStepData]): [Read-Write] List of input actions that need to be completed (according to Combo Step Completion States) to trigger this action. Input actions must be triggered in order (starting at index 0) to count towards the triggering of the combo.current_combo_step_index
(int32): [Read-Write] Keeps track of what action we’re currently at in the combocurrent_time_between_combo_steps
(float): [Read-Write] Time elapsed between last combo InputAction trigger and current timeinput_cancel_actions
(Array[InputCancelAction]): [Read-Write] Actions that will cancel the combo if they are completed (according to Cancellation States)last_value
(InputActionValue): [Read-Write] Value passed to UpdateState on the previous tick. This will be updated automatically after the trigger is updated.should_always_tick
(bool): [Read-Write] Decides whether this trigger ticks every frame or not.This WILL affect performance and should only be used in specific custom triggers.
- property combo_actions: None¶
[Read-Write] List of input actions that need to be completed (according to Combo Step Completion States) to trigger this action. Input actions must be triggered in order (starting at index 0) to count towards the triggering of the combo.
- Type:
- property current_combo_step_index: int¶
[Read-Only] Keeps track of what action we’re currently at in the combo
- Type:
(int32)
- property current_time_between_combo_steps: float¶
[Read-Only] Time elapsed between last combo InputAction trigger and current time
- Type:
(float)