ShowVars

This function will show variables on object.

SyntaxEdit

Select the object in the window while the console is down, or PRID the object. Then:

ShowVars [PapyrusFilter]
SV [PapyrusFilter]

ExamplesEdit

Player.SV

Shows all script variables, aliases, and magic effects on the player

MyObject.SV "On"

Shows only the script variables and properties on MyObject with "On" in their name.

MyObject.SV "MyScript.On"

Shows only the script variables and properties on MyObject in the "MyScript" script with "On" in their name.

MyObject.SV "MyScript.*"

Shows all variables and properties in scripts with "MyScript" in the name.

NotesEdit

The papyrus filter supports wildcards like "*" and "?". "*" wildcards will be implicitly added on the beginning and end of the filter for you, so "On" will match "On", "TurnOn", "TurnOnAndKeep", or even "Gone". If you supply a "." the word in front of the "." denotes the script name (with implicit "*" wildcards) to filter by, and the word after the "." specifies the variable name.