User Tools

Site Tools


prpl:notpersist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
prpl:notpersist [2016/12/02 23:33] – external edit 127.0.0.1prpl:notpersist [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#Scripts|Scripts]]
  
-=====  NOTPERSIST  =====+=====  NotPersist  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+varname | | [ string - ] |
  
  
 === 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 ===
-<code> s1 = GetStringFromStack();  + 
- +An important use for this  
 + 
 +<code prpl> 
 +1 ->var1 
 +2 ->var2 
 +"var2" NotPersist
 </code> </code>
  
prpl/notpersist.1480721630.txt.gz · Last modified: 2025/02/14 14:56 (external edit)