Global Command: setWindowTitle
From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 00:29, 16 May 2023 by EK (talk | contribs) (EK moved page SetWindowTitle (CMS) to Global Command: setWindowTitle)
Set a custom title in the game application title bar. Only applicable, if the game is running in window mode.
Syntax
setWindowTitle(title)
Parameters
Parameter | Type | Description |
---|---|---|
title | string | The new title for the game window. |
Return values
none
Examples
Example 1: Set the window title based on the user's operating system language.
sysLang = getProperty("system_language")
if sysLang == "German" then
setWindowTitle("Mein neuer Titel auf Deutsch")
else
setWindowTitle("My new title in English")
end