scripting:other_language_features
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
scripting:other_language_features [2020/01/28 18:17] – [Custom Events] 51.148.136.100 | scripting:other_language_features [2023/05/15 02:31] (current) – mit | ||
---|---|---|---|
Line 21: | Line 21: | ||
</ | </ | ||
Keeping related code separated like this can make it easier to share script across worlds - e.g. You could add your crow tournament feature to another world by copying the '' | Keeping related code separated like this can make it easier to share script across worlds - e.g. You could add your crow tournament feature to another world by copying the '' | ||
+ | |||
+ | ===== Persistent Key Values ===== | ||
+ | |||
+ | You can create persistent/ | ||
+ | |||
+ | < | ||
+ | Event( " | ||
+ | { | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Barring sudden outages, key values will be saved and restored whenever the server is restarted. | ||
+ | |||
===== Timers ===== | ===== Timers ===== |
scripting/other_language_features.1580257044.txt.gz · Last modified: 2020/01/28 18:17 by 51.148.136.100