SetPapyrusQuestVariable

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Attempts to set a property on a script attached to the specified quest. The first script it finds with the specified property will be set - later scripts will be ignored.

Syntax[edit | edit source]

SetPapyrusQuestVariable <quest> <property> <value>
SetPQV <quest> <property> <value>

Parameters[edit | edit source]

  • Quest: The quest which has the desired scripts attached
  • Property: The property to set - must be a boolean, integer, float, or string
  • Value: The value to set the property to.
    • Note: For boolean properties the only false value is "false" (case-insensitive). 0 will not work.

Examples[edit | edit source]

SetPQV MySpecialQuest MyIntProperty 1
SetPQV MySpecialQuest MyBoolProperty True

See Also[edit | edit source]

SetPapyrusVariable