unreal.GameplayTask_TimeLimitedExecution
¶
- class unreal.GameplayTask_TimeLimitedExecution(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
GameplayTask
Adds time limit for running a child task - child task needs to be created with UGameplayTask_TimeLimitedExecution passed as TaskOwner - activations are tied together and when either UGameplayTask_TimeLimitedExecution or child task is activated, other one starts as well - OnFinished and OnTimeExpired are mutually exclusive
C++ Source:
Module: GameplayTasks
File: GameplayTask_TimeLimitedExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
on_finished
(TaskFinishDelegate): [Read-Write] called when child task finishes execution before time runs outon_time_expired
(TaskFinishDelegate): [Read-Write] called when time runs out
- property on_finished: TaskFinishDelegate¶
[Read-Write] called when child task finishes execution before time runs out
- Type:
(TaskFinishDelegate)
- property on_time_expired: TaskFinishDelegate¶
[Read-Write] called when time runs out
- Type:
(TaskFinishDelegate)