Skip to content

HostSubType

Anthony Headley edited this page Mar 8, 2022 · 2 revisions

HostSubType() : string

Brief:

Need more information ⚠ if on MA hardware returns the type of hardware. Only tested on MA3 Light could use more details for other hardware types (PU, CompactXT )

Parameters:

Name Description Optional

Returns:

  • string: "Undefinded" if onPC
  • string: "Light" if on a grandMA3 Light
  • string: "FullSize" if on a grandMA3 Full Size ...

Examples:

local consoleType = HostSubType()
if consoleType == "Undefined" then
    Echo("This is onPC or unknown")
else
    Echo("This is on a " .. consoleType)
end
Clone this wiki locally