System Lua API
Jump to navigation
Jump to search
System
Description
System API provides access to game settings and other generic system features
Functions
SetLanguage
System.SetLanguage(langCode)
Expected parameter types
Name | Type |
---|---|
langCode | string |
Description: Sets the game language
Returns: Nothing
GetCurrentInputMethod
System.GetCurrentInputMethod()
Description: Checks what kind of input method was last used
Returns: string, either 'keyboard' or 'gamepad'
Notes: Use this to change hint messages etc. tutorialization based on current input device
This file is auto generated, please don't edit manually!
Docs last hacked together on: 29/08/2023 16:24