Difference between revisions of "Con ShowVars"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(Created. source me.)
 
imported>Odessa
(fixed syntax for calling ref mistake tomm noticed.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = NVSE
  |origin = NVSE
  |summary = Prints the name and value of all variables in the script attached to the specified object. Requires [[SetConsoleEcho|Console Echo]] to be toggled on. This function is useful for creating [[Debug Dumps]] with [[Con_SCOF]]. Added by NVSE 4.5.6.  
  |summary = Prints the name and value of all variables in the script attached to the [[calling reference]]. Requires [[SetConsoleEcho|Console Echo]] to be toggled on. This function is useful for creating [[Debug Dumps]] with [[Con_SCOF]]. Added by NVSE 4.5.  
  |name = Con_ShowVars
  |name = Con_ShowVars
|referenceType = reference
  |returnType = None
  |returnType = None
  |arguments =  {{FunctionArgument
  |arguments =  {{FunctionArgument
   |Name = ToShowVarsOf
   |Name =  
   |Type = object}}
   |Type = }}
}}
}}
==Example==
==Example==
<pre>
<pre>
SetConsoleEcho 1
SetConsoleEcho 1
Con_ShowVars SunnyREF
SunnyREF.Con_ShowVars  
</pre>
</pre>



Latest revision as of 07:32, 2 December 2014

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Prints the name and value of all variables in the script attached to the calling reference. Requires Console Echo to be toggled on. This function is useful for creating Debug Dumps with Con_SCOF. Added by NVSE 4.5.

Syntax

[help]
(None) reference.Con_ShowVars 

Example

SetConsoleEcho 1
SunnyREF.Con_ShowVars 

Notes

  • String and array variables print their ID number rather than contents.

See Also