GetCurrentConsoleRef - Game

From the Fallout4 CreationKit Wiki
Revision as of 14:58, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]