Script Reference: Tests

Below is the list of tests that can be used in scripts.

ActiveCharacter
Checks if the active character matches the specified character.

ActiveScene
Checks if the active scene matches the specified scene.

CharacterFlagExists
Checks if a flag exists on the specified character.

CharacterStateEquals
Checks if a character is in the specified animation state.

IsInInventory
Checks if an item is in the specified character's inventory.

ItemFlagExists
Checks if a flag exists on the specified item.

LastRandomNumberBetween
Checks if the last number selected by the PickRandomNumber action is in the specified range.

PreviousScene
Checks if the previous scene matches the specified scene.

VisualFlagExists
Checks if a flag exists on the specified visual.

VisualStateEquals
Checks if a visual is in the specified animation state.

Back to search