Skip to content

HostSubType

Anthony Headley edited this page Apr 19, 2020 · 2 revisions

HostSubType() : string

Brief:

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

Paramiters:

Name Description Optional

Returns:

string: "Undefinded" if onPC string: "Light" if on a grandMA3 Light ...

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