This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:notpersist [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:notpersist [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <- [[.: | + | <- [[.: |
- | ===== | + | ===== |
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | + | | varname |
=== Description === | === Description === | ||
+ | |||
+ | Sets a variable to not be persisted. Normally script variables save when the game is saved. NotPersist causes them to be left out of save files. | ||
=== Examples === | === Examples === | ||
- | < | + | |
- | + | An important use for this | |
+ | |||
+ | < | ||
+ | 1 ->var1 | ||
+ | 2 ->var2 | ||
+ | " | ||
</ | </ | ||