USmartObjectMassBehaviorDefinition

Base class for MassAIBehavior definitions.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MassSmartObjects

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/MassSmartObjectBehaviorDefinition.h

Include

#include "MassSmartObjectBehaviorDefinition.h"

Syntax

UCLASS(EditInlineNew)
class USmartObjectMassBehaviorDefinition : public USmartObjectBehaviorDefinition

Remarks

Base class for MassAIBehavior definitions. This is the type of definitions that LW Entities queries will look for. Definition subclass can parameterized its associated behavior by overriding method Activate.

Variables

Name Description

Public variable UProperty Category, EditDefaultsOnly

float

 

UseTime

Indicates the amount of time the LW entity will execute its behavior when reaching the smart object.

Functions

Name Description

Public function Virtual Const

void

 

Activate

(
    UMassEntitySubsystem& EntitySubsys...,
    FMassExecutionContext& Context,
    const FMassBehaviorEntityContext& ...
)

This virtual method allows subclasses to configure the LW Entity based on their parameters (e.g. Add new fragments)