Conditions - NenyaBit/Dynamic-Dialogue-Replacer GitHub Wiki

Conditions used by this mod share the same syntax as Dynamic Armor Variants which follows the same general behavior as game Conditions do. To that end, linking conditions with AND and OR also follows the same principles as it does for those used by by Creation Kit. See the Conditions for additional information.

File Structure

Features which take a Condition parameter (such as Response and Topic Editing) can be given a list of conditions:

conditions:
  - GetIsReference Player == 0 AND
  - IsInSameCurrentLocAsRef 0x198BA|Skyrim.esm LocTypeHold == 1 AND

Notice that:

  • Each line represents a unique condition
  • The function name is identical to the one stated on the Wiki
  • Arguments are separated by a single space character:
    • Function
    • Parameters (up to 2)
    • Comparison
    • Comparable
    • Connective
  • To run a condition on a specific reference, use the following syntax:
    • 0x198BA|Skyrim.esm <> GetIsReference Player == 0 AND
      • List the target reference first, then split it with <> and continue with the condition itself