Mod:Creation Kit/GetPlatformName - Debug

Member of: Mod:Creation Kit/Debug Script

Obtains the game's platform name.

Syntax
string Function GetPlatformName native global debugOnly

Parameters
None.

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

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