Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UMoverComponent
Description
Fires OnGameplayTagAdded/OnGameplayTagRemoved for every tag that is in NewTags but not PreviousTags (added), or in PreviousTags but not NewTags (removed). Tags already covered by an entry in EventsToSkip are suppressed to avoid double-firing alongside explicit simulation events. Tags also present in ExternalGameplayTags are suppressed with a log, as concurrent simulation and external ownership of the same tag is unexpected.
| Name | DispatchGameplayTagTransitionEvents |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverComponent.h |
| Include Path | #include "MoverComponent.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoverComponent.cpp |
void DispatchGameplayTagTransitionEvents
(
const FGameplayTagContainer & PreviousTags,
const FGameplayTagContainer & NewTags,
const TArray < TSharedPtr < FMoverSimulationEventData > > & EventsToSkip,
const FMoverTimeStep & TimeStep
)