Difference between revisions of "Con ShowVars"
Jump to navigation
Jump to search
imported>Tomm434 |
imported>Odessa (fixed syntax for calling ref mistake tomm noticed.) |
||
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== |
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