Skip to content

Condition Reference

Below is the complete reference of conditional branch checks supported by the RagNext Game Engine.

NOTE

For Each Loops and Switch Nodes are structural flow nodes on the visual canvas rather than inner conditional branch parameters. For visual screenshots and usage details, refer to the Visual Scripts & Triggers guide.

Character

Character: Attribute Check

Checks if a character's custom attribute matches an expected value.

ParameterTypeUI Input
CharacterCharacterComboBox
Attribute NameStringText
Expected ValueStringText

Character: Gender

Checks if a character is a specific gender.

ParameterTypeUI Input
CharacterCharacterComboBox
GenderStringComboBox

Character: In Room

Checks if a character is currently in a specific room.

ParameterTypeUI Input
CharacterCharacterComboBox
RoomRoomComboBox

Item

Item: Attribute Check

Checks if an item's custom attribute matches an expected value.

ParameterTypeUI Input
ItemItemComboBox
Attribute NameStringText
Expected ValueStringText

Item: Held By Character

Checks if a character has a specific item in their inventory.

ParameterTypeUI Input
ItemItemComboBox
CharacterCharacterComboBox

Item: Held By Player

Checks if the player has a specific item in their inventory.

ParameterTypeUI Input
ItemItemComboBox

Item: In Object

Checks if an item is inside a specific container object.

ParameterTypeUI Input
ItemItemComboBox
Container ObjectGameObjectComboBox

Item: In Room

Checks if a loose item is placed in a specific room.

ParameterTypeUI Input
ItemItemComboBox
RoomRoomComboBox

Item: Not Held By Player

Checks if the player does not have a specific item.

ParameterTypeUI Input
ItemItemComboBox

Item: Not In Object

Checks if an item is not inside a specific container object.

ParameterTypeUI Input
ItemItemComboBox
ObjectGameObjectComboBox

Item: Is Item Worn

Checks if the player is currently wearing a specific item.

ParameterTypeUI Input
ItemItemComboBox

Item: Can Item Be Worn

Checks if an item can be worn (i.e. is wearable and has no slot conflicts with currently worn items).

ParameterTypeUI Input
ItemItemComboBox

Player

Player: Attribute Check

Checks if the player's custom attribute matches an expected value.

ParameterTypeUI Input
Attribute NameStringText
Expected ValueStringText

Player: Gender

Checks if the player is a specific gender.

ParameterTypeUI Input
GenderStringComboBox

Player: In Room

Checks if the player is currently in a specific room.

ParameterTypeUI Input
RoomRoomComboBox

Player: In Same Room As

Checks if the player is in the same room location as a specific character.

ParameterTypeUI Input
Target CharacterCharacterComboBox

Room

Room: Attribute Check

Checks if a room's custom attribute matches an expected value.

ParameterTypeUI Input
RoomRoomComboBox
Attribute NameStringText
Expected ValueStringText

Room: Is Exit Locked

Checks if a specific exit direction in a room is locked.

ParameterTypeUI Input
RoomRoomComboBox
DirectionDirectionComboBox

Timer

Timer: Is Active

Checks if a background timer is currently active.

ParameterTypeUI Input
TimerTimerComboBox

Variable

Variable: Comparison

Compares a global variable's value against a static value.

ParameterTypeUI Input
VariableVariableComboBox
ComparisonOperatorComboBox
ValueStringText

Variable: DateTime Part Comparison

Compares a single component (minute, second, hour, day, month, year) of a datetime variable against a number.

ParameterTypeUI Input
VariableVariableComboBox
DateTime ComponentStringComboBox
ComparisonOperatorComboBox
Expected ValueNumberNumber

DateTime: Is Past

Checks if a datetime variable's value represents a time in the past.

ParameterTypeUI Input
VariableVariableComboBox

DateTime: Is Future

Checks if a datetime variable's value represents a time in the future.

ParameterTypeUI Input
VariableVariableComboBox

DateTime: Compare Two Variables

Compares two datetime variables against each other.

ParameterTypeUI Input
Variable AVariableComboBox
ComparisonOperatorComboBox
Variable BVariableComboBox

DateTime: Compare Difference

Compares the timespan difference between two datetime variables against a duration (e.g. 5 minutes).

ParameterTypeUI Input
Variable AVariableComboBox
Variable BVariableComboBox
ComparisonOperatorComboBox
DurationStringText

DateTime: Compare Constant

Compares a datetime variable against a static timestamp constant.

ParameterTypeUI Input
VariableVariableComboBox
ComparisonOperatorComboBox
Constant ValueStringText

DateTime: Is Valid

Checks if a variable contains a valid, parseable datetime string.

ParameterTypeUI Input
VariableVariableComboBox

RagNext Labs LLC — Software Engine & Development Studio