<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.sternenschweif.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.sternenschweif.com/index.php?action=history&amp;feed=atom&amp;title=SetDialogueBackground</id>
		<title>SetDialogueBackground - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.sternenschweif.com/index.php?action=history&amp;feed=atom&amp;title=SetDialogueBackground"/>
		<link rel="alternate" type="text/html" href="https://wiki.sternenschweif.com/index.php?title=SetDialogueBackground&amp;action=history"/>
		<updated>2026-05-11T13:11:59Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in Sternenschweif Wiki</subtitle>
		<generator>MediaWiki 1.22.9</generator>

	<entry>
		<id>https://wiki.sternenschweif.com/index.php?title=SetDialogueBackground&amp;diff=1508&amp;oldid=prev</id>
		<title>Chrisfirefox am 9. August 2018 um 21:05 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.sternenschweif.com/index.php?title=SetDialogueBackground&amp;diff=1508&amp;oldid=prev"/>
				<updated>2018-08-09T21:05:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 9. August 2018, 21:05 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setDialogueBackground(&amp;quot;bildname&amp;quot;); // &amp;quot;bildname&amp;quot; als Hintergrundbild anzeigen&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setDialogueBackground(&amp;quot;bildname&amp;quot;); // &amp;quot;bildname&amp;quot; als Hintergrundbild anzeigen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setDialogueBackground(&amp;quot;&amp;quot;); // Hintergrundbild löschen&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setDialogueBackground(&amp;quot;&amp;quot;); // Hintergrundbild löschen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;setDialogueBackground(&amp;quot;bildname&amp;quot;, true); // &amp;quot;bildname&amp;quot; als Hintergrundbild anzeigen und Charakterportraits ausblenden&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ein Dialog hat die Möglichkeit, ein auf die Bildschirmgröße gedehntes Bild anzuzeigen. Dieses kann mittels setDialogueBackground direkt im Dialog gesetzt und verändert werden, zur Verfügung stehen die Vanilla Ressourcen-Bilder (resources.asset, zB item/alchemieset, item/araxgift oder images/magier_04) aber auch alle Bilder, die über imagedirectory per Mod eingebunden wurden. Letztere werden &amp;quot;lazy&amp;quot; geladen, d.h. bei der ersten Verwendung kann es zu einer kurzen Verzögerung bis zur Bildanzeige kommen, je nach Größe des Bildes und Zugriffsgeschwindigkeit.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ein Dialog hat die Möglichkeit, ein auf die Bildschirmgröße gedehntes Bild anzuzeigen. Dieses kann mittels setDialogueBackground direkt im Dialog gesetzt und verändert werden, zur Verfügung stehen die Vanilla Ressourcen-Bilder (resources.asset, zB item/alchemieset, item/araxgift oder images/magier_04) aber auch alle Bilder, die über imagedirectory per Mod eingebunden wurden. Letztere werden &amp;quot;lazy&amp;quot; geladen, d.h. bei der ersten Verwendung kann es zu einer kurzen Verzögerung bis zur Bildanzeige kommen, je nach Größe des Bildes und Zugriffsgeschwindigkeit.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Um das Hintergrundbild im Dialog wieder zu entfernen, einfach einen leeren Namen an die Funktion übergeben.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Um das Hintergrundbild im Dialog wieder zu entfernen, einfach einen leeren Namen an die Funktion übergeben.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Hinweis'': Funktioniert nur, wenn gerade ein Dialog &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sichtbar &lt;/del&gt;ist&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Hinweis'': Funktioniert nur, wenn gerade ein Dialog &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;aktiv &lt;/ins&gt;ist&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chrisfirefox</name></author>	</entry>

	<entry>
		<id>https://wiki.sternenschweif.com/index.php?title=SetDialogueBackground&amp;diff=1507&amp;oldid=prev</id>
		<title>Chrisfirefox am 8. August 2018 um 21:21 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.sternenschweif.com/index.php?title=SetDialogueBackground&amp;diff=1507&amp;oldid=prev"/>
				<updated>2018-08-08T21:21:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 8. August 2018, 21:21 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:NLTScript Referenz]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:NLTScript Referenz]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setDialogueBackground(&amp;quot;bildname&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;setDialogueBackground(&amp;quot;bildname&amp;quot;); &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;// &amp;quot;bildname&amp;quot; als Hintergrundbild anzeigen&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;setDialogueBackground(&amp;quot;&amp;quot;); // Hintergrundbild löschen&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ein Dialog hat die Möglichkeit, ein auf die Bildschirmgröße gedehntes Bild anzuzeigen. Dieses kann mittels setDialogueBackground direkt im Dialog gesetzt und verändert werden, zur Verfügung stehen die Vanilla Ressourcen-Bilder (resources.asset, zB item/alchemieset, item/araxgift oder images/magier_04) aber auch alle Bilder, die über imagedirectory per Mod eingebunden wurden. Letztere werden &amp;quot;lazy&amp;quot; geladen, d.h. bei der ersten Verwendung kann es zu einer kurzen Verzögerung bis zur Bildanzeige kommen, je nach Größe des Bildes und Zugriffsgeschwindigkeit.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ein Dialog hat die Möglichkeit, ein auf die Bildschirmgröße gedehntes Bild anzuzeigen. Dieses kann mittels setDialogueBackground direkt im Dialog gesetzt und verändert werden, zur Verfügung stehen die Vanilla Ressourcen-Bilder (resources.asset, zB item/alchemieset, item/araxgift oder images/magier_04) aber auch alle Bilder, die über imagedirectory per Mod eingebunden wurden. Letztere werden &amp;quot;lazy&amp;quot; geladen, d.h. bei der ersten Verwendung kann es zu einer kurzen Verzögerung bis zur Bildanzeige kommen, je nach Größe des Bildes und Zugriffsgeschwindigkeit.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ist das Bildseitenverhältnis kleiner als das Bildschirmverhältnis (Bild ist &amp;quot;hochformatiger&amp;quot; als Bildschirm), so wird das Bild in voller Breite angezeigt, obere und untere Überstände &amp;quot;ragen über den Bildschirm hinaus&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ist das Bildseitenverhältnis kleiner als das Bildschirmverhältnis (Bild ist &amp;quot;hochformatiger&amp;quot; als Bildschirm), so wird das Bild in voller Breite angezeigt, obere und untere Überstände &amp;quot;ragen über den Bildschirm hinaus&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ist das Bildseitenverhältnis größer als das Bildschirmverhältnis (Bild ist &amp;quot;querformatiger&amp;quot; als Bildschirm), so wird das Bild in voller Höhe angezeigt, linke und rechte Ränder &amp;quot;ragen über den Bildschirm hinaus&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ist das Bildseitenverhältnis größer als das Bildschirmverhältnis (Bild ist &amp;quot;querformatiger&amp;quot; als Bildschirm), so wird das Bild in voller Höhe angezeigt, linke und rechte Ränder &amp;quot;ragen über den Bildschirm hinaus&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Die Bildnamen &amp;quot;fadetoblack&amp;quot;, &amp;quot;fade&amp;quot; und &amp;quot;ftb&amp;quot; sind reserviert, sie zeigen eine Abdunkelung der aktuellen Szenerie an.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Um das Hintergrundbild im Dialog wieder zu entfernen, einfach einen leeren Namen an die Funktion übergeben.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Hinweis'': Funktioniert nur, wenn gerade ein Dialog sichtbar ist&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Hinweis'': Funktioniert nur, wenn gerade ein Dialog sichtbar ist&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chrisfirefox</name></author>	</entry>

	<entry>
		<id>https://wiki.sternenschweif.com/index.php?title=SetDialogueBackground&amp;diff=1506&amp;oldid=prev</id>
		<title>Chrisfirefox: Die Seite wurde neu angelegt: „Category:NLTScript Referenz &lt;syntaxhighlight lang=&quot;javascript&quot;&gt; setDialogueBackground(&quot;bildname&quot;); &lt;/syntaxhighlight&gt; Ein Dialog hat die Möglichkeit, ein …“</title>
		<link rel="alternate" type="text/html" href="https://wiki.sternenschweif.com/index.php?title=SetDialogueBackground&amp;diff=1506&amp;oldid=prev"/>
				<updated>2018-08-08T21:18:36Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&lt;a href=&quot;/index.php/Kategorie:NLTScript_Referenz&quot; title=&quot;Kategorie:NLTScript Referenz&quot;&gt;Category:NLTScript Referenz&lt;/a&gt; &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; setDialogueBackground(&amp;quot;bildname&amp;quot;); &amp;lt;/syntaxhighlight&amp;gt; Ein Dialog hat die Möglichkeit, ein …“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:NLTScript Referenz]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
setDialogueBackground(&amp;quot;bildname&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Ein Dialog hat die Möglichkeit, ein auf die Bildschirmgröße gedehntes Bild anzuzeigen. Dieses kann mittels setDialogueBackground direkt im Dialog gesetzt und verändert werden, zur Verfügung stehen die Vanilla Ressourcen-Bilder (resources.asset, zB item/alchemieset, item/araxgift oder images/magier_04) aber auch alle Bilder, die über imagedirectory per Mod eingebunden wurden. Letztere werden &amp;quot;lazy&amp;quot; geladen, d.h. bei der ersten Verwendung kann es zu einer kurzen Verzögerung bis zur Bildanzeige kommen, je nach Größe des Bildes und Zugriffsgeschwindigkeit.&lt;br /&gt;
&lt;br /&gt;
Das Bild wird so auf den Bildschirm gedehnt, dass zwar das Bildverhältnis (Breite zu Höhe) konstant bleibt, damit aber keine Flächen durchscheinen, wird das Bild entsprechend des aktuellen Anzeige-Verhältnisses &amp;quot;mit Overscan&amp;quot; skaliert. Konkret bedeutet das:&lt;br /&gt;
* Stimmen das Bildschirmverhältnis und das Bildverhältnis überein (zB sowohl das Bild als auch die Anzeige sind 16:9), so wird das Bild vollständig dargestellt&lt;br /&gt;
* Ist das Bildseitenverhältnis kleiner als das Bildschirmverhältnis (Bild ist &amp;quot;hochformatiger&amp;quot; als Bildschirm), so wird das Bild in voller Breite angezeigt, obere und untere Überstände &amp;quot;ragen über den Bildschirm hinaus&amp;quot;&lt;br /&gt;
* Ist das Bildseitenverhältnis größer als das Bildschirmverhältnis (Bild ist &amp;quot;querformatiger&amp;quot; als Bildschirm), so wird das Bild in voller Höhe angezeigt, linke und rechte Ränder &amp;quot;ragen über den Bildschirm hinaus&amp;quot;&lt;br /&gt;
&lt;br /&gt;
''Hinweis'': Funktioniert nur, wenn gerade ein Dialog sichtbar ist&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Hinweis'': Um eigene Bilder einzubinden, müssen diese in einem Mod im Unterordner bilder liegen und dieser muss auch in der contentinfo.xml des entsprechenden Mods eingefügt sein:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;imagedirectory name=&amp;quot;bilder&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisfirefox</name></author>	</entry>

	</feed>