GetCurrentConsoleRef - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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

Returns the currently selected console reference.

Syntax[edit | edit source]

ObjectReference Function GetCurrentConsoleRef() Native Global

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns the consoles currently selected ObjectReference.

Examples[edit | edit source]

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

Notes[edit | edit source]

None

See Also[edit | edit source]