Link Search Menu Expand Document

Pip-Boy

Functions


set_quest_failure_value

void sfall_func2("set_quest_failure_value", int gvarNumber, int thresholdValue)
  • sets the threshold value (failure_threshold) for the quest at which the quest will be considered failed (its description in the pipboy will be crossed out and colored red)
  • gvarNumber: the number of the global variable controlling the quest
  • thresholdValue: the value of the global variable at which the quest is counted as a failure