Added "set_quest_failure_value" script function

This commit is contained in:
NovaRain
2021-03-24 12:52:00 +08:00
parent d56de64913
commit 78d8f46af6
9 changed files with 96 additions and 31 deletions
@@ -791,6 +791,11 @@ optional arguments:
2 - clears the overlay area or the specified rectangle defined by the x, y, width, height arguments
0 - destroys the created overlay surface (frees up the memory allocated to the surface)
> 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
------------------------
------ MORE INFO -------
------------------------