unreal.AbilityTask_MoveToLocation

class unreal.AbilityTask_MoveToLocation(outer: Object | None = None, name: Name | str = 'None')

Bases: AbilityTask

Move to a location, ignoring clipping, over a given length of time. Ends when the TargetLocation is reached. This will RESET your character’s current movement mode! If you wish to maintain PHYS_Flying or PHYS_Custom, you must reset it on completion.!

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: AbilityTask_MoveToLocation.h

Editor Properties: (see get_editor_property/set_editor_property)

  • on_target_location_reached (MoveToLocationDelegate): [Read-Write]

property on_target_location_reached: MoveToLocationDelegate

[Read-Write]

Type:

(MoveToLocationDelegate)