Console commands (Fallout 4)/Papyrus

An overview of console commands for Papyrus scripts $$

Overview
The console is a debugging tool in the PC version of Fallout 4. It is used for altering content while in-game. It cannot be used in the game console versions or in Survival mode. The Papyrus scripting engine contains a large number of script functions many of which have no equivalent console command. You can call these functions from within the console using the following console commands.

Scripts

 * or – Calls function on referenced target ID.
 * Example: this will attach the mod "46d90" (heavy armor) to the base item "536c4" (metal chest piece) in the targetID's inventory. You could use this after  to guarantee that at least one metal chest piece in the target's inventory will be the Heavy variant.
 * Function: The console searches for the function on any scripts currently attached to the reference. If multiple scripts are found with the same function, you will have to clarify which script using the "Script.Function" syntax. Make sure to encapsule Script.Function in quotes "".
 * Parameters: These are optional, and can be added if the called function needs them. Up to 10 parameters can be added, each separated by a space. If the parameter contains a space, encapsulate it in quotes "".
 * or – Calls a function on the specified quest.
 * or – Calls a global function.
 * Example: will display an ingame notification with the text "Hello there."
 * Note: Unlike CallFunction and CallQuestFunction this command requires that the function uses the "Script.Function" syntax.