ShowVars

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

This function will show variables on object.

Syntax[edit | edit source]

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

ShowVars [PapyrusFilter]
SV [PapyrusFilter]

Examples[edit | edit source]

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.

Notes[edit | edit source]

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.