Global Command: setWindowTitle

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Redirected from 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