GetPlatformName - Debug

From the Fallout4 CreationKit Wiki
Revision as of 16:26, 1 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Debug Script

Obtains the game's platform name.

Syntax[edit | edit source]

string Function GetPlatformName() native global debugOnly

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The game's platform name (PC, 360, etc).

Examples[edit | edit source]

; Print out the current platform name to the log
Debug.Trace("You are running on the " + Debug.GetPlatformName() + " platform")

See Also[edit | edit source]