Encounter Object Matches State Conditional

The EncounterObjectMatchesStateConditional conditional checks the status of an Encounter Object (in code known as EncounterObjectGameLogic). Encounter Object is the supertype of lots of in-map logic objects like, but not limited to, a Chunk, Dialogue, some Effects and Game Logic objects. If the Encounter Object exists in the encounter layer then you can use this conditional to check its state in a Trigger.

Properties

PropertyRequiredDefaultDetails
TypetrueEncounterObjectMatchesStateConditional-
Guidtrue-A UUIDv4 of the Encounter Object you wish to check against. An Encounter Object (EncounterObjectGameLogic) is anything created in the game map like, but not limited to, a Chunk, Dialogue, some Effects and Game Logic objects.

Often used to check status of a Chunk for controlling the flow of a contract type.
Statustrue-The Objective status you want the conditional to pass on a successful check.

Statuses are: InProgress, Complete, Success, Failed, NotInProgress

Example

"Conditionals": [
{
"Type": "EncounterObjectMatchesStateConditional",
"Guid": "0d288b40-fb4e-4118-996f-d65c070d140f", // Often used to check status of a Chunk for controlling the flow
"Status": "Active"
}
]