SetQuestFlag

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets/un-sets the specified flag (determined by flagID) for the specified Quest form.

Syntax

[help]
SetQuestFlag quest:form flagID:int{0-7} newValue:0/1

Quest Flag IDs

0	Is running
1	Is completed
2	Allow repeated conversation topics
3	Allow repeated stages
4	Set running on reset
5	Is shown in Pip-Boy
6	Is failed
7	Unknown

Example

SetQuestFlag VDeadSea 3 1 

Notes

  • Because quest flags are "baked-in" the save file on the first time the quest has been loaded in the game, changing the flags later on (in the GECK) will have no effect on existing games, thus can potentially cause backward compatibility issues with the mod. This function is the only way to change quest flags after they have been baked-in.
  • Start Game Enabled in the GECK or xEdit equals flags 0 and 4.

See Also