<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Text_Skipping_Protection</id>
	<title>Text Skipping Protection - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Text_Skipping_Protection"/>
	<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Text_Skipping_Protection&amp;action=history"/>
	<updated>2026-11-01T03:52:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Text_Skipping_Protection&amp;diff=12305&amp;oldid=prev</id>
		<title>EK at 16:20, 15 January 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Text_Skipping_Protection&amp;diff=12305&amp;oldid=prev"/>
		<updated>2024-01-15T16:20:54Z</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 17:20, 15 January 2024&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-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;&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;This script keeps the user from skipping character and narration texts accidentally by deactivating the cursor for a small amount of time when a text appears.&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;This script keeps the user from skipping character and narration texts accidentally by deactivating the cursor for a small amount of time when a text appears.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&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; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span class=&quot;red&quot;&amp;gt;Note that this script is no longer needed. In version 5.3 Visionaire included the option &quot;Delay between text skips&quot; in the [[Game Properties]].&amp;lt;/span&amp;gt;&lt;/ins&gt;&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;&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;/table&gt;</summary>
		<author><name>EK</name></author>
	</entry>
	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Text_Skipping_Protection&amp;diff=12191&amp;oldid=prev</id>
		<title>EK: Created page with &quot;{| class=&quot;ts&quot; style=&quot;width:100%&quot; |- ! style=&quot;text-align:left&quot; | Name !! style=&quot;text-align:left&quot; | Type !! style=&quot;text-align:left&quot; | By |- | Text Skipping Protection || Definit...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Text_Skipping_Protection&amp;diff=12191&amp;oldid=prev"/>
		<updated>2023-08-21T08:31:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| class=&amp;quot;ts&amp;quot; style=&amp;quot;width:100%&amp;quot; |- ! style=&amp;quot;text-align:left&amp;quot; | Name !! style=&amp;quot;text-align:left&amp;quot; | Type !! style=&amp;quot;text-align:left&amp;quot; | By |- | Text Skipping Protection || Definit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| class=&amp;quot;ts&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | Name !! style=&amp;quot;text-align:left&amp;quot; | Type !! style=&amp;quot;text-align:left&amp;quot; | By&lt;br /&gt;
|-&lt;br /&gt;
| Text Skipping Protection || Definition || AFRLme (&amp;amp;&amp;amp;nbsp;others)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This script keeps the user from skipping character and narration texts accidentally by deactivating the cursor for a small amount of time when a text appears.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Instructions ==&lt;br /&gt;
Add the [[#Main_Script|main script]] to the Visionaire Studio Script Editor and set the script as a definition script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Main Script ==&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;button id=&amp;quot;button1&amp;quot; class=&amp;quot;copybtn&amp;quot; onclick=&amp;quot;CopyToClipboard(&amp;#039;txt&amp;#039;)&amp;quot;&amp;gt;&amp;lt;/button&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; id=&amp;quot;txt&amp;quot;&amp;gt;&lt;br /&gt;
-- Prevent accidental text skipping&lt;br /&gt;
function delaySkipText(text)&lt;br /&gt;
  if not text.Background then&lt;br /&gt;
    game.AlwaysAllowSkipText = false&lt;br /&gt;
      &lt;br /&gt;
    if game.HideCursor == false and game.CutsceneAction:isEmpty() then&lt;br /&gt;
      game.HideCursor = true&lt;br /&gt;
    &lt;br /&gt;
      setDelay(300, function() game.AlwaysAllowSkipText = true; game.HideCursor = false end)&lt;br /&gt;
    else&lt;br /&gt;
      setDelay(300, function() game.AlwaysAllowSkipText = true end)&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
registerEventHandler(&amp;quot;textStarted&amp;quot;, &amp;quot;delaySkipText&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;{{toc}}&lt;/div&gt;</summary>
		<author><name>EK</name></author>
	</entry>
</feed>