<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_16</id>
	<title>A Development Tutorial: Chapter 16 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_16"/>
	<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;action=history"/>
	<updated>2026-11-22T13:45:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=16300&amp;oldid=prev</id>
		<title>Henry at 19:18, 22 September 2018</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=16300&amp;oldid=prev"/>
		<updated>2018-09-22T19:18:46Z</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 20:18, 22 September 2018&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;| image = AWikiEditor.gif&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;| image = AWikiEditor.gif&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;div&gt;| description = Get the developer tools and try building new content for this game!&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;| description = Get the developer tools and try building new content for this game!&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;| season = All Seasons&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;div&gt;| status = Progress Stopped&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;| status = Progress Stopped&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;div&gt;| complete = 75%&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;| complete = 75%&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;div&gt;| authors = Slowhand&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;| authors = Slowhand&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;div&gt;| chapter = 16: Repeatable Locations&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;| chapter = 16: Repeatable Locations&lt;/div&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 27|Pro Tips&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;div&gt;}}&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;}}&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;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=9989&amp;oldid=prev</id>
		<title>Henry at 05:40, 29 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=9989&amp;oldid=prev"/>
		<updated>2017-01-29T05:40:50Z</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 06:40, 29 January 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-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&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;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;There are many ways to do this - this is only one presentation that works, for experimental purposes:&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;There are many ways to do this - this is only one presentation that works, for experimental purposes:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&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; 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;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;image soon&lt;/del&gt;)&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code class=&quot;bbc_code&quot;&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Demo for Timed Event used for repeatable quests.&amp;lt;br&amp;gt;void r_GetQuest&lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Critter&amp;amp;amp; player, Critter@ npc&lt;/ins&gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;r_GetQuest() called&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if (isTimedEventAvailable(player, npc))&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;uint[] values = {player.Id, npc.Id};&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;setTimedEventAvailable(player, npc, false);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;CreateTimeEvent(AFTER(REAL_SECOND(10)), &quot;e_ResetSpawnLocTimer&quot;, values, false);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;r_SpawnLoc(player, npc);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;else&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;r_GetQuest() - Quest not available yet.&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;S&amp;lt;br&amp;gt;uint e_ResetSpawnLocTimer(array&amp;amp;lt;uint&amp;amp;gt;@ values)&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Critter@ player = GetCritter(values[0]);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;e_ResetSpawnLocTimer()&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Critter@ npc = GetCritter(values[1]);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;setTimedEventAvailable(player, npc, true);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return 0;&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;bool setTimedEventAvailable(Critter&amp;amp;amp; player, Critter@ npc, bool isReady)&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;setTimedEventAvailable()&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if(!valid(player) || !valid(npc))&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return false;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;GameVar@ var = GetUnicumVar(UVAR_q_timedEventAvailable, npc.Id, player.Id);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if (!valid(var))&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return false;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if (isReady)&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;var = 1;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;setTimedEventAvailable() - 1&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;else&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;setTimedEventAvailable() - 0&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;var = 0;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;bool isTimedEventAvailable(Critter&amp;amp;amp; player, Critter@ npc)&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;isTimedEventAvailable()&quot;);&amp;lt;br&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; if(!valid(player) || !valid(npc))&amp;lt;br&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; return false;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;GameVar@ var = GetUnicumVar(UVAR_q_timedEventAvailable, npc.Id, player.Id);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if (!valid(var))&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return false;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if (var == 0)&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;isTimedEventAvailable() == 0&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return false;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;else&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;isTimedEventAvailable() == 1&quot;);&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;/code&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;div&gt;[[Category:Guides]]&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;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=9896&amp;oldid=prev</id>
		<title>Henry at 02:26, 26 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=9896&amp;oldid=prev"/>
		<updated>2017-01-26T02:26:39Z</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 03:26, 26 January 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-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;div&gt;| authors = Slowhand&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;| authors = Slowhand&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;div&gt;| chapter = 16: Repeatable Locations&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;| chapter = 16: Repeatable Locations&lt;/div&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[A Development Tutorial: &lt;/del&gt;Chapter 21&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|Advanced Kill Quest]]&lt;/del&gt;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&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;div&gt;}}&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;}}&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;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=9833&amp;oldid=prev</id>
		<title>Henry: Created page with &quot;{{Guide | name = A Development Tutorial: Chapter 16 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = Pr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_16&amp;diff=9833&amp;oldid=prev"/>
		<updated>2017-01-21T03:09:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Guide | name = A Development Tutorial: Chapter 16 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = Pr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Guide&lt;br /&gt;
| name = A Development Tutorial: Chapter 16&lt;br /&gt;
| image = AWikiEditor.gif&lt;br /&gt;
| description = Get the developer tools and try building new content for this game!&lt;br /&gt;
| status = Progress Stopped&lt;br /&gt;
| complete = 75%&lt;br /&gt;
| authors = Slowhand&lt;br /&gt;
| chapter = 16: Repeatable Locations&lt;br /&gt;
| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &amp;quot;SAY&amp;quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 21|Advanced Kill Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Making a location spawn (for a daily/weekly quest) repeatable with timer.&lt;br /&gt;
&lt;br /&gt;
There will be no Step-by-Step for this one, as all the elements have been shown previously. Rather, I will just explain and link the script. You need to add the source to the same script file as the one we used previously, because it uses some of it&amp;#039;s functions. Remove the lines starting with player.Say.. when you put this to production code, they were just used for debug, and for you to see what is happening.&lt;br /&gt;
&lt;br /&gt;
* r_GetQuest(..)&lt;br /&gt;
** This function should be called from the dialog, when the NPC gives the quest.&lt;br /&gt;
** If the timed even is available, then it will summon the location, but this is a precaution only, the dialog branching should decide this.&lt;br /&gt;
** Try and test this, if the timer is not up, it should say in system window that the quest is not available yet.&lt;br /&gt;
* e_ResetSpawnLocTimer(..)&lt;br /&gt;
** This is an even function which will be called from r_getQuest(..) and is responsible for resetting the timer.&lt;br /&gt;
** All this function does, is to call the setTimedEventAvailable(..) function to allow the retaking of the quest.&lt;br /&gt;
* setTimedEventAvailable(..)&lt;br /&gt;
** Is used to set the Unique variable for this quest timer.&lt;br /&gt;
* isTimedEventAvailable(..)&lt;br /&gt;
** Check the value of the timer variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways to do this - this is only one presentation that works, for experimental purposes:&lt;br /&gt;
&lt;br /&gt;
(image soon)&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
</feed>