Skyrim

File information

Last updated

Original upload

Created by

Jaxonz

Uploaded by

jaxonz

Virus scan

Safe to use

About this mod

SKSE plugin for ObjectReference selected in Command Console

Requirements
Permissions and credits
Changelogs
This is a simple modders resource that allows programmatic access to objects selected via mouse clicks in the command console.

It is a custom SKSE plugin, created with the guidance of PurpleLunchBox.
It is my understanding that this function will be added to the next release of SKSE, so this is an interim solution that will be retired in the future.
Now implemented in SKSE 1.7.2 beta

Example code:
Debug.Notification ("Click on an object to select and tap ~")
;open the console
Input.TapKey(Input.GetMappedKey("Console"))
;wait for console to close
Utility.Wait(0.1)
ObjectReference objSelected = JaxonzConsolePlugIn.GetCurrentConsoleRef()


Added INI file value reading functions.
These are distinct from SKSE Utility script functions which can only read Bethesda-defined INI values. They allow custom INI values in your own mod INI file.
Not that for safety, these functions do not allow write access.
See the included Example project and source code for usage. JaxonzConsolePluging.PSC also has annotated syntax.[/color][/font]