<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://df-21.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Game_Script_API</id>
	<title>Game Script API - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://df-21.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Game_Script_API"/>
	<link rel="alternate" type="text/html" href="https://df-21.net/wiki/index.php?title=Game_Script_API&amp;action=history"/>
	<updated>2026-11-17T05:25:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://df-21.net/wiki/index.php?title=Game_Script_API&amp;diff=1610&amp;oldid=prev</id>
		<title>Jerethk: Created page with &quot;The &lt;code&gt;game&lt;/code&gt; 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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://df-21.net/wiki/index.php?title=Game_Script_API&amp;diff=1610&amp;oldid=prev"/>
		<updated>2026-11-15T15:39:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;code&amp;gt;game&amp;lt;/code&amp;gt; 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...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;code&amp;gt;game&amp;lt;/code&amp;gt; object exposes several methods on the game that is currently being played.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
=== getGameTime() ===&lt;br /&gt;
* returns the current game time in seconds (float)&lt;br /&gt;
&lt;br /&gt;
=== text() ===&lt;br /&gt;
* displays text on the screen&lt;br /&gt;
* parameter: message (string); the text to display&lt;br /&gt;
&lt;br /&gt;
=== random() ===&lt;br /&gt;
* returns a random integer using the Dark Forces random number generator (this is not the C/C++ random number function)&lt;br /&gt;
* parameter: an integer value; the returned number will be between 0 and this value&lt;br /&gt;
&lt;br /&gt;
=== playCutscene() ===&lt;br /&gt;
* plays an OGV cutscene&lt;br /&gt;
* parameter: cutsceneName (string); the name of the cutscene to play&lt;/div&gt;</summary>
		<author><name>Jerethk</name></author>
	</entry>
</feed>