|
|
Objective | linkedObjective |
|
int | currentStateID |
|
int | previousStateID |
|
long | updateTime |
|
bool | isMarked |
A runtime instance of an active Objective
◆ GetSubObjectives() [1/2]
Gets all Objective instances in the category marked as the 'sub-Objective category' for the Objective's current state.
- Returns
- All Objective instances that match the given criteria
◆ GetSubObjectives() [2/2]
| ObjectiveInstance[] AC.ObjectiveInstance.GetSubObjectives |
( |
ObjectiveStateType | objectiveStateType | ) |
|
Gets all Objective instances in the category marked as the 'sub-objective category' for the Objective's current state.
- Parameters
-
| objectiveStateType | A filter for returned sub-Objectives based on their own current state<param> - Returns
- All Objective instances that match the given criteria
|
◆ CurrentState
The instance's current objective state
◆ CurrentStateID
| int AC.ObjectiveInstance.CurrentStateID |
|
getset |
The ID number of the instance's current objective state
◆ EditorIndex
| int AC.ObjectiveInstance.EditorIndex |
|
get |
The order in which the Objective appears in the Editor
◆ IsMarked
| bool AC.ObjectiveInstance.IsMarked |
|
getset |
A flag that represents if the objecive is 'marked' or not. This has no use internally, but can be set/read via custom script for use in extensions. The set value is stored within save-game files
◆ Objective
◆ ObjectiveID
| int AC.ObjectiveInstance.ObjectiveID |
|
get |
◆ PreviousStateID
| int AC.ObjectiveInstance.PreviousStateID |
|
get |
The ID of the instance's previous objective state, or -1 if it has only been one state
◆ SaveData
| string AC.ObjectiveInstance.SaveData |
|
get |
A data string containing all saveable data
◆ Texture
| Texture2D AC.ObjectiveInstance.Texture |
|
get |
◆ UpdateTime
| long AC.ObjectiveInstance.UpdateTime |
|
get |
The time the objective was last updated, represented by the number of Ticks in DateTime