<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Osiris%2FAPI%2FFadeOutDone</id>
	<title>Osiris/API/FadeOutDone - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Osiris%2FAPI%2FFadeOutDone"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/FadeOutDone&amp;action=history"/>
	<updated>2026-04-17T22:36:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/FadeOutDone&amp;diff=4897&amp;oldid=prev</id>
		<title>Tinkerer at 14:12, 19 December 2017</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/FadeOutDone&amp;diff=4897&amp;oldid=prev"/>
		<updated>2017-12-19T14:12:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:12, 19 December 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Osiris/API/FadeToWhite|FadeToWhite]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Osiris/API/FadeToWhite|FadeToWhite]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;[[Category:Osiris Events]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;[[Category:Osiris Events&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|FadeOutDone&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/FadeOutDone&amp;diff=4618&amp;oldid=prev</id>
		<title>Tinkerer: Documented FadeOutDone</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/FadeOutDone&amp;diff=4618&amp;oldid=prev"/>
		<updated>2017-12-08T11:06:02Z</updated>

		<summary type="html">&lt;p&gt;Documented FadeOutDone&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Full Definition(s) =====&lt;br /&gt;
* event '''FadeOutDone'''(''(INTEGER)'''''_UserID''', ''(STRING)'''''_FadeID''')&lt;br /&gt;
===== Description =====&lt;br /&gt;
Thrown when a [[Osiris/API/FadeToBlack|fade-to-black]] or [[Osiris/API/FadeToWhite|fade-to-white]] operation finished.&lt;br /&gt;
===== Parameters =====&lt;br /&gt;
* '''_UserID''': Do '''''not''''' rely on this parameter. Theoretically, it should contain the ID of the user for which the fade was done. In practice, this value is unreliable.&lt;br /&gt;
* '''_Event''': The name of the event specified to [[Osiris/API/FadeToBlack|FadeToBlack]] or [[Osiris/API/FadeToWhite|FadeToWhite]].&lt;br /&gt;
===== Notes =====&lt;br /&gt;
* This event is new in DOS2 Patch 5. It is the new, clearer, name of the deprecated [[Osiris/API/FadeDone|FadeDone]] event.&lt;br /&gt;
* Since you cannot rely on the '''_UserID''' parameter, when potentially fading for multiple users at the same time and wanting to catch this event, you have to create a separate '''_FadeDone''' event for every user. One way of doing this is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PROC&lt;br /&gt;
PROC_MYPREFIX_FadeToBlackForChar((CHARACTERGUID)_Char, (STRING)_BaseEventName)&lt;br /&gt;
AND&lt;br /&gt;
GetUUID(_Char, _UserIDString)&lt;br /&gt;
AND&lt;br /&gt;
StringConcatenate(_BaseEventName, _UserIDString, _FadeEvent)&lt;br /&gt;
THEN&lt;br /&gt;
DB_MYPREFIX_FadeEvent(_Char, _FadeEvent);&lt;br /&gt;
FadeToBlack(_Char, 3.0, 0, _FadeEvent);&lt;br /&gt;
&lt;br /&gt;
IF&lt;br /&gt;
FadeDone(_, _FadeEvent)&lt;br /&gt;
AND&lt;br /&gt;
DB_MYPREFIX_FadeEvent(_Char, _FadeEvent)&lt;br /&gt;
THEN&lt;br /&gt;
NOT DB_MYPREFIX_FadeEvent(_Char, _FadeEvent);&lt;br /&gt;
// Do what you want to do when the fade is finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===== See Also =====&lt;br /&gt;
* [[Osiris/API/FadeInDone|FadeInDone]]&lt;br /&gt;
* [[Osiris/API/FadeToBlack|FadeToBlack]]&lt;br /&gt;
* [[Osiris/API/FadeToWhite|FadeToWhite]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Osiris Events]]&lt;/div&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
</feed>