GetCurrentConsoleRef - Game

From Creation Kit
Jump to: navigation, search

F4SE Member of: Game Script
Requires F4SE version 0.2.1 or higher.

Returns the currently selected console reference.

Syntax

ObjectReference Function GetCurrentConsoleRef() Native Global

Parameters

None

Return Value

Returns the consoles currently selected ObjectReference.

Examples

ObjectReference selected = Game.GetCurrentConsoleRef()
Debug.Trace(selected)

Notes

None

See Also