Difference between revisions of "GetPlatformName - Debug"
Jump to navigation
Jump to search
imported>SkylerModder |
imported>SkylerModder |
||
Line 15: | Line 15: | ||
== Return Value == | == Return Value == | ||
The game's platform name | The game's platform name: | ||
<ul> | <ul> | ||
<li>"Win32" (Skyrim / Skyrim Legendary Edition (PC))</li> | <li>"Win32" (Skyrim / Skyrim Legendary Edition (PC))</li> |
Revision as of 17:17, 4 August 2021
Member of: Debug Script
Obtains the game's platform name.
Syntax
string Function GetPlatformName() native global
Parameters
None.
Return Value
The game's platform name:
- "Win32" (Skyrim / Skyrim Legendary Edition (PC))
- "Win64" (Skyrim Special Edition (PC))
- "XB1" (Xbox One)
Examples
; Print out the current platform name to the log
Debug.Trace("You are running on the " + Debug.GetPlatformName() + " platform")