<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://silvematt.com/URPGCreationKitDocumentation/index.php?action=history&amp;feed=atom&amp;title=Quest_Script</id>
	<title>Quest Script - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?action=history&amp;feed=atom&amp;title=Quest_Script"/>
	<link rel="alternate" type="text/html" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Quest_Script&amp;action=history"/>
	<updated>2026-05-13T16:44:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Quest_Script&amp;diff=355&amp;oldid=prev</id>
		<title>Silvematt: Created page with &quot;A Quest Script is a type of script that runs periodically while a Quest is active. Quest Scripts are widely used and are extremely useful when you need to catch an event that can occur at different time, or more specifically, an event that you don't exactly know when it will occur.  Quest Script are the standard way, for example, to update quests that requires a certain NPC to be killed, and this situation is the perfect example to its use. We know that the NPC will...&quot;</title>
		<link rel="alternate" type="text/html" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Quest_Script&amp;diff=355&amp;oldid=prev"/>
		<updated>2022-03-06T19:35:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A Quest Script is a type of script that runs periodically while a &lt;a href=&quot;/URPGCreationKitDocumentation/index.php/Quest&quot; title=&quot;Quest&quot;&gt;Quest&lt;/a&gt; is active. Quest Scripts are widely used and are extremely useful when you need to catch an event that can occur at different time, or more specifically, an event that you don&amp;#039;t exactly know when it will occur.  Quest Script are the standard way, for example, to update quests that requires a certain NPC to be killed, and this situation is the perfect example to its use. We know that the NPC will...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A Quest Script is a type of script that runs periodically while a [[Quest]] is active. Quest Scripts are widely used and are extremely useful when you need to catch an event that can occur at different time, or more specifically, an event that you don't exactly know when it will occur.&lt;br /&gt;
&lt;br /&gt;
Quest Script are the standard way, for example, to update quests that requires a certain NPC to be killed, and this situation is the perfect example to its use. We know that the NPC will have to die, and we know we want to update the quest after he dies, but we can't exactly know when this will happen. The Quest Script will periodically check for the status of the NPC, when he will be dead, the Quest Script will detect that and run some lines of code to update the quest. &lt;br /&gt;
&lt;br /&gt;
We've seen multiple uses of Quest Scripts in the [[A First Look, Part 1|A First Look]] tutorial.&lt;br /&gt;
&lt;br /&gt;
You can create a Quest Script by right-clicking in the Project Window -&amp;gt; Create -&amp;gt; RPG Creation Kit -&amp;gt; C# -&amp;gt; Quests -&amp;gt; Quest Script.&lt;br /&gt;
&lt;br /&gt;
Once created, a Quest Script will have to be assigned in the [[Quest|Quest Window]] to the respective quest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you know that at a determined stage you want to execute some piece of code, use [[Quest Stage Script|Quest Stage Scripts]] instead.&lt;/div&gt;</summary>
		<author><name>Silvematt</name></author>
	</entry>
</feed>