unreal.GameplayAbilityInstancingPolicy
¶
-
class
unreal.
GameplayAbilityInstancingPolicy
¶ Bases:
unreal.EnumBase
How the ability is instanced when executed. This limits what an ability can do in its implementation. For example, a NonInstanced Ability cannot have state. It is probably unsafe for an InstancedPerActor ability to have latent actions, etc.
C++ Source:
Plugin: GameplayAbilities
Module: GameplayAbilities
File: GameplayAbilityTypes.h
-
INSTANCED_PER_ACTOR
¶ Each actor gets their own instance of this ability. State can be saved, replication is possible.
- Type
1
-
INSTANCED_PER_EXECUTION
¶ We instance this ability each time it is executed. Replication possible but not recommended.
- Type
2
-
NON_INSTANCED
¶ This ability is never instanced. Anything that executes the ability is operating on the CDO.
- Type
0