Skip to content

LSDE Dialog Engine / ConditionTest

Interface: ConditionTest ​

Defined in: blueprint-types.ts:156

One comparison: a dictionary entry against a value. The reserved dict id "choice" is the exception — it reads the answers the player already gave IN THIS SCENE, which the engine tracks on its own. No project dictionary can be named that.

Properties ​

dict ​

dict: string

Defined in: blueprint-types.ts:158

The dictionary id, see DictionaryDefinition.id. "choice" is reserved: see Ports.Choice.


entry ​

entry: string

Defined in: blueprint-types.ts:160

The entry read in that dictionary. With dict "choice", a CHOICE block id of this scene.


join? ​

optional join?: ConditionJoin

Defined in: blueprint-types.ts:166

Link with the comparison ABOVE. Absent on the first one.


op ​

op: ConditionOperator

Defined in: blueprint-types.ts:162

The comparison.


value ​

value: PropertyValue

Defined in: blueprint-types.ts:164

The right-hand side; its type follows the dictionary's valueType. With dict "choice", the Option.id the player picked.