Difference between revisions of "FQuestDelayTime"
Jump to navigation
Jump to search
imported>DragoonWraith m (stupid case-sensitive links) |
imported>Haama (Clarified?) |
||
Line 1: | Line 1: | ||
;fQuestDelayTime :fQuestDelayTime is a float variable | ;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). | ||
[[Category: Glossary]] | [[Category: Glossary]] |
Revision as of 22:04, 10 February 2008
- fQuestDelayTime
- fQuestDelayTime is a special float variable used by 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).