Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/WorldConditions
Inheritance Hierarchy
- FWorldConditionBase
- FSmartObjectWorldConditionBase
- FWorldCondition_SmartObjectActorTagQuery
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/WorldConditions/WorldCondition_SmartObjectActorTagQuery.h |
| Include | #include "WorldConditions/WorldCondition_SmartObjectActorTagQuery.h" |
Syntax
USTRUCT (Meta=(DisplayName="Match Gameplay tags on SmartObject actor"))
struct FWorldCondition_SmartObjectActorTagQuery : public FSmartObjectWorldConditionBase
Remarks
World condition to match tags of the Smart Object's owning Actor (which must implement IGameplayTagAssetInterface or have an AbilitySystemComponent).
Variables
| Type | Name | Description | |
|---|---|---|---|
| FWorldConditionContextDataRef | SmartObjectActorRef | Smart Object's owning actor for which the tags must match the query. | |
| FGameplayTagQuery | TagQuery | Tags on the Smart Object's owning actor that need to match this query for the condition to evaluate true. |
Overridden from FWorldConditionBase
| Type | Name | Description | |
|---|---|---|---|
| bool | Activate
(
const FWorldConditionContext& Context |
Called to activate the condition. | |
| void | Deactivate
(
const FWorldConditionContext& Context |
Called to deactivate the condition. | |
| FText | |||
| TObjectPtr< const UStruct > * | |||
| bool | Initialize
(
const UWorldConditionSchema& Schema |
Initializes the condition to be used with a specific schema. | |
| FWorldConditionResult | IsTrue
(
const FWorldConditionContext& Context |
Called to check the condition state. |
Typedefs
| Name | Description |
|---|---|
| FStateType |