Difference between revisions of "FQuestDelayTime"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Clarified?)
imported>Haama
m (Spelling)
Line 1: Line 1:
;fQuestDelayTime :fQuestDelayTime is a special float variable used by [[Quest scripts|quest script]] to determine how often the script should run. It must be declared in each quest script that you want to use it in, and can be set like any other variable ('''set fQuestDelayTime to .01'''). The variable unit is in seconds, so if you set it to 1 the script will run once every second,  0.5 will run twice a second (every half second), etc. but will never run more than once a frame. If fQuestDelayTime is 0 (or undeclared) the script will run every 5 seconds (default value).
;fQuestDelayTime :fQuestDelayTime is a special float variable used by [[Quest scripts|quest scripts]] to determine how often the script should run. It must be declared in each quest script that you want to use it in, and can be set like any other variable ('''set fQuestDelayTime to .01'''). The variable unit is in seconds, so if you set it to 1 the script will run once every second,  0.5 will run twice a second (every half second), etc. but will never run more than once a frame. If fQuestDelayTime is 0 (or undeclared) the script will run every 5 seconds (default value).


[[Category: Glossary]]
[[Category: Glossary]]

Revision as of 23:54, 10 February 2008

fQuestDelayTime
fQuestDelayTime is a special float variable used by quest scripts to determine how often the script should run. It must be declared in each quest script that you want to use it in, and can be set like any other variable (set fQuestDelayTime to .01). The variable unit is in seconds, so if you set it to 1 the script will run once every second, 0.5 will run twice a second (every half second), etc. but will never run more than once a frame. If fQuestDelayTime is 0 (or undeclared) the script will run every 5 seconds (default value).