Tracks numeric progress toward a required threshold; complete when Progress >= RequiredProgress.
A commanded Complete() succeeds at any progress and does not advance it.
Verse using statement |
using { /UnrealEngine.com/Progression } |
Inheritance Hierarchy
This class is derived from objective.
| Name | Description |
|---|---|
objective |
A unit of trackable work with an
|
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
ActivateEvent |
unknown |
Signaled when this objective is activated. |
CompleteEvent |
unknown |
Signaled when this objective completes. |
DeactivateEvent |
unknown |
Signaled when this objective is deactivated. |
Progress |
?float |
Current progress toward |
ProgressEvent |
unknown |
Signaled when this objective's progress changes. |
RequiredProgress |
?float |
Target progress for completion; an authored value is not clamped, and |
State |
?objective_state |
This objective's lifecycle state. |
Functions
| Function Name | Description |
|---|---|
Activate |
Starts this objective; returns an error when it is already running or its type refuses to start it, otherwise the errors |
CanActivate |
Succeeds if this objective may be activated; the default succeeds. Veto by returning errors. |
CanComplete |
Succeeds if this objective may be completed for |
CanDeactivate |
Succeeds if this objective may be deactivated; the default succeeds. Veto by returning errors. |
Complete |
Reports this objective as complete for |
Deactivate |
Stops this objective; returns an error when it is not running, otherwise the errors |
GetProgress |
Returns progress in |
GetProgress |
Returns a |
OnActivate |
Called when this objective starts. |
OnComplete |
Called after this objective is complete, possibly more than once. |
OnDeactivate |
Called when this objective stops. |
SetProgress |
Sets current progress, clamped to |
SetRequiredProgress |
Sets the target progress; a negative or NaN value becomes |
SignalProgressEvent |
Signals |