Difference between revisions of "Scripting Tutorial: Creating a Simple Timer"
Scripting Tutorial: Creating a Simple Timer (edit)
Revision as of 19:39, 12 September 2023
, 19:39, 12 September 2023→Requirements
imported>Morerunes (Added usage details) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
For this exercise, we shall be creating a simple timer that displays a message after a certain amount of time passes. | For this exercise, we shall be creating a simple timer that displays a message after a certain amount of time passes. | ||
{{Tools|req0=[[The Elder Scrolls Construction Set|Construction Set]]}} | |||
== Requirements == | == Requirements == | ||
Basic knowledge of: | Basic knowledge of: | ||
* | * Coding | ||
* The [[Tescs|Construction Set]] and | * The [[Tescs|Construction Set]] and its usage | ||
== Commands and Functions used == | == Commands and Functions used == | ||
Line 100: | Line 100: | ||
The '''doOnce''' variable is used to make sure the initialization happens only once, i.e., during the script's first iteration. But this method not preferable as it calls more comparisons, is longer and needs initialization. | The '''doOnce''' variable is used to make sure the initialization happens only once, i.e., during the script's first iteration. But this method not preferable as it calls more comparisons, is longer and needs initialization. | ||