SKYRIM
Jaxonz Console Plugin by Jaxonz
Skyrim » Modders resources and tutorials
Added: 18/08/2014 - 08:00AM
Updated: 09/01/2015 - 05:48AM

37 Endorsements

1.3 Latest version

323 Unique D/Ls

427 Total D/Ls

7,103 Total Views

Uploaded by jaxonz

Description

Last updated at 5:48, 9 Jan 2015 Uploaded at 8:00, 18 Aug 2014

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]