Sv Destruct

From the Oblivion ConstructionSet Wiki
Revision as of 19:27, 28 August 2010 by imported>DragoonWraith (colon made sense when the description was above the syntax, but not under it.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(string_var) sv_Destruct 
(void) sv_Destruct var1:string_var var2:string_var var3:string_var ... var10:string_var

Destroys a string variable, setting its value to zero and preventing its contents from being saved in the savegame. Two different syntaxes are supported: the first should be used in an assignment with no parameters, using the Set keyword: set stringVar to sv_Destruct. The second is used without assignment and accepts up to ten string variables as arguments, destroying them all.