Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/GameplayEffectComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayEffectComponent
- UChanceToApplyGameplayEffectComponent
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectComponents/ChanceToApplyGameplayEffectComponent.h |
| Include | #include "GameplayEffectComponents/ChanceToApplyGameplayEffectComponent.h" |
Syntax
UCLASS&40;&41;
class UChanceToApplyGameplayEffectComponent : public UGameplayEffectComponent
Remarks
Applies a probablity to the application conditions of the Gameplay Effect.
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FScalableFloat & | Get the configured chance to apply to target | ||
| void | SetChanceToApplyToTarget
(
const FScalableFloat& ChanceToApplyToTarget |
Set the chance to apply to target |
Overridden from UGameplayEffectComponent
| Type | Name | Description | |
|---|---|---|---|
| bool | CanGameplayEffectApply
(
const FActiveGameplayEffectsContainer& ActiveGEContainer, |
Determine if we can apply this GameplayEffect or not |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Warn of errors in the Editor |