This function will select a reference by id for the console.
- References in the console may also be selected by opening the console, clicking the mouse, then rolling the mouse wheel to choose objects from the front of the screen to the back underneath the last pixel clicked. For instance, if you click on an object but receive "FXDust..." instead of the object you were trying to click, you can roll the mouse wheel up to select the desired object behind the obscuring visual effect.
- All console commands, and all scripting language functions, will by definition be called on the currently selected reference when typed into the console.
- The player reference number is always 14, so using the command
- will select the player in the console. This can be a convenient shorthand to avoid having to prefix every instruction with
player.when attempting to edit the player character.