Difference between revisions of "Con ShowVars"
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 | |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 = | |Name = | ||
|Type = | |Type = }} | ||
}} | }} | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
SetConsoleEcho 1 | SetConsoleEcho 1 | ||
Con_ShowVars | 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
(None) reference.Con_ShowVars
Example
SetConsoleEcho 1 SunnyREF.Con_ShowVars
Notes
- String and array variables print their ID number rather than contents.
See Also
- ShowVars - Console version
- Debug Dumps
- Con_SQV (to show the variables for a quest instead)
- Ar_Dump (to show contents of an array)
- Con_SCOF (to write console output to a text file)
- GetConsoleEcho
- SetConsoleEcho