Game Script API: Revision history

From DF21 Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

15 November 2026

  • curprev 07:3907:39, 15 November 2026‎ Jerethk talk contribs‎ 620 bytes +620‎ Created page with "The <code>game</code> object exposes several methods on the game that is currently being played. == Methods == === getGameTime() === * returns the current game time in seconds (float) === text() === * displays text on the screen * parameter: message (string); the text to display === random() === * returns a random integer using the Dark Forces random number generator (this is not the C/C++ random number function) * parameter: an integer value; the returned number will..."