<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pmdo.pmdcollab.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Mod%3AKnightcore%2FScriptKC</id>
	<title>Mod:Knightcore/ScriptKC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Mod%3AKnightcore%2FScriptKC"/>
	<link rel="alternate" type="text/html" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Mod:Knightcore/ScriptKC&amp;action=history"/>
	<updated>2026-07-31T09:21:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Mod:Knightcore/ScriptKC&amp;diff=4291&amp;oldid=prev</id>
		<title>Imbion: Created page with &quot;{{stub}} The following functions are found in the &lt;code&gt;ScriptKC.lua&lt;/code&gt; file in Knightcore.  These functions can be called from other lua script files by including the line &lt;code&gt;require &#039;knightcore.ScriptKC&#039;&lt;/code&gt;, and then called with the prefix &lt;code&gt;ScriptKC&lt;/code&gt;.  == TrySet == If the emote is a valid emote that exists, set it as the current emote. If not, throw an exception. Primarily for sanity reasons.  == InstantTextNS == Shows a textboo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Mod:Knightcore/ScriptKC&amp;diff=4291&amp;oldid=prev"/>
		<updated>2025-09-30T19:43:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{stub}} The following functions are found in the &amp;lt;code&amp;gt;ScriptKC.lua&amp;lt;/code&amp;gt; file in &lt;a href=&quot;/Mod:Knightcore&quot; title=&quot;Mod:Knightcore&quot;&gt;Knightcore&lt;/a&gt;.  These functions can be called from other lua script files by including the line &amp;lt;code&amp;gt;require &amp;#039;knightcore.ScriptKC&amp;#039;&amp;lt;/code&amp;gt;, and then called with the prefix &amp;lt;code&amp;gt;ScriptKC&amp;lt;/code&amp;gt;.  == TrySet == If the emote is a valid emote that exists, set it as the current emote. If not, throw an exception. Primarily for sanity reasons.  == InstantTextNS == Shows a textboo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{stub}}&lt;br /&gt;
The following functions are found in the &amp;lt;code&amp;gt;ScriptKC.lua&amp;lt;/code&amp;gt; file in [[Mod:Knightcore|Knightcore]].  These functions can be called from other lua script files by including the line &amp;lt;code&amp;gt;require &amp;#039;knightcore.ScriptKC&amp;#039;&amp;lt;/code&amp;gt;, and then called with the prefix &amp;lt;code&amp;gt;ScriptKC&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== TrySet ==&lt;br /&gt;
If the emote is a valid emote that exists, set it as the current emote. If not, throw an exception. Primarily for sanity reasons.&lt;br /&gt;
&lt;br /&gt;
== InstantTextNS ==&lt;br /&gt;
Shows a textbook with instant text and no speaker.&lt;br /&gt;
&lt;br /&gt;
== MoodTalk ==&lt;br /&gt;
Have the speaker speak a line while setting an emote.&lt;br /&gt;
&lt;br /&gt;
== Talk ==&lt;br /&gt;
Make the given speaker talk.&lt;br /&gt;
&lt;br /&gt;
== StartTalking ==&lt;br /&gt;
Have a new speaker start talking.&lt;br /&gt;
&lt;br /&gt;
== StartTalkingDuringConvo == &lt;br /&gt;
Used to replicate EOS like behavior where there is a slight delay when a new speaker talks. Otherwise, just like StartTalking. &lt;br /&gt;
&lt;br /&gt;
== SilentSpeech ==&lt;br /&gt;
MoodTalk but without any text sound.&lt;br /&gt;
&lt;br /&gt;
== SilentSpeechDelay ==&lt;br /&gt;
SilentSpeech but with the new speaker delay.&lt;br /&gt;
&lt;br /&gt;
== Chaterbox ==&lt;br /&gt;
Loop through a table of lines and say them all.&lt;br /&gt;
&lt;br /&gt;
== ChatterboxOneEmote ==&lt;br /&gt;
Chatterbox, but set all lines with one single emote.&lt;br /&gt;
&lt;br /&gt;
== VoiceOver ==&lt;br /&gt;
Uses a &amp;quot;standard&amp;quot; voice over text box.&lt;br /&gt;
&lt;br /&gt;
== ChaterboxVO ==&lt;br /&gt;
Chatterbox, but with voiceover lines.&lt;br /&gt;
&lt;br /&gt;
== TalkNS ==&lt;br /&gt;
Talk with no speaker set for a speakerless textbox.&lt;br /&gt;
&lt;br /&gt;
== AskYesNo ==&lt;br /&gt;
Ask a yes-no question and return true if yes, false if no.&lt;br /&gt;
&lt;br /&gt;
== AskQuestion ==&lt;br /&gt;
Asks a question. Returns what option was selected for the question.&lt;br /&gt;
&lt;br /&gt;
== AskThenRun ==&lt;br /&gt;
Ask a question, then automatically chooses a script from the corresponding table to run.&lt;br /&gt;
&lt;br /&gt;
== Helper Functions ==&lt;br /&gt;
The following functions are unavailable to be accessed and are used throughout ScriptKC to run other functions.&lt;br /&gt;
&lt;br /&gt;
=== VerifyEmote ===&lt;br /&gt;
Checks if the portrait emotion given is an emotion that exists and can be used. Otherwise, throws an exception. Ignores nil.&lt;/div&gt;</summary>
		<author><name>Imbion</name></author>
	</entry>
</feed>