Difference between revisions of "Sv Destruct"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
m (colon made sense when the description was above the syntax, but not under it.)
 
Line 1: Line 1:
{{Function
{{Function
  | origin = OBSE
  | origin = OBSE
  | summary = 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: <tt>set stringVar to sv_Destruct</tt>. The second is used without assignment and accepts up to ten string variables as arguments, destroying them all:
  | summary = 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: <tt>set stringVar to sv_Destruct</tt>. The second is used without assignment and accepts up to ten string variables as arguments, destroying them all.
  | name = sv_Destruct
  | name = sv_Destruct
  | returnVal = string_var
  | returnVal = string_var

Latest revision as of 19:27, 28 August 2010

< [[::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.