Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayCueNotifyTypes.h |
| Include | #include "GameplayCueNotifyTypes.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FGameplayCueNotify_SpawnCondition
Remarks
FGameplayCueNotify_SpawnCondition
Conditions used to determine if the gameplay cue notify should spawn.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGameplayCueNotify_SurfaceMask | AllowedSurfaceMask | ||
| TArray< TEnumAsByte< EPhysicalSurface > > | AllowedSurfaceTypes | The gameplay cue effects will only spawn if the surface type is in this list. | |
| float | ChanceToPlay | Random chance to play the effects. (1.0 = always play, 0.0 = never play) | |
| EGameplayCueNotify_LocallyControlledPolicy | LocallyControlledPolicy | Locally controlled policy used to determine if the gameplay cue effects should spawn. | |
| EGameplayCueNotify_LocallyControlledSource | LocallyControlledSource | Source actor to use when determining if it is locally controlled. | |
| FGameplayCueNotify_SurfaceMask | RejectedSurfaceMask | ||
| TArray< TEnumAsByte< EPhysicalSurface > > | RejectedSurfaceTypes | The gameplay cue effects will only spawn if the surface type is NOT in this list. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ShouldSpawn
(
const FGameplayCueNotify_SpawnContext& SpawnContext |