ShowInventoryVars

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

This function will show variables on items in this object's inventory.

Syntax[edit | edit source]

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

ShowInventoryVars [PapyrusFilter]
SIV [PapyrusFilter]

Examples[edit | edit source]

Player.SIV

Shows all the items in the player's inventory that are scripted.

MyObject.SIV "On"

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

MyObject.SIV "MyScript.On"

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

MyObject.SIV "MyScript.*"

Shows all variables and properties in scripts with "MyScript" in the name in items in MyObject's inventory.

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.