GetVersionNumber - Debug

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Debug Script

Obtains the game's version number.

Syntax[edit | edit source]

string Function GetVersionNumber() native global debugOnly

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The game's version number.

Examples[edit | edit source]

; Print out the current version number to the log
Debug.Trace("You are running version " + Debug.GetVersionNumber())

See Also[edit | edit source]