<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.sandboxgamemaker.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Adding_NPC%27s_and_items_to_your_map</id>
		<title>Adding NPC&#039;s and items to your map - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.sandboxgamemaker.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Adding_NPC%27s_and_items_to_your_map"/>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Adding_NPC%27s_and_items_to_your_map&amp;action=history"/>
		<updated>2026-05-03T02:50:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://www.sandboxgamemaker.com/wiki/index.php?title=Adding_NPC%27s_and_items_to_your_map&amp;diff=762&amp;oldid=prev</id>
		<title>Chaze007 at 19:37, 24 June 2010</title>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Adding_NPC%27s_and_items_to_your_map&amp;diff=762&amp;oldid=prev"/>
				<updated>2010-06-24T19:37:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:37, 24 June 2010&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=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; //Test GUI&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; //Test GUI&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; newgui diologue1 [&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; newgui diologue1 [&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;	&lt;/del&gt;guitext &amp;quot;Hello, this is where the text is entered.&amp;quot; chat&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;guitext &amp;quot;Hello, this is where the text is entered.&amp;quot; chat&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ]&amp;#160;  &amp;quot;Hello, this is the title&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ]&amp;#160;  &amp;quot;Hello, this is the title&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chaze007</name></author>	</entry>

	<entry>
		<id>https://www.sandboxgamemaker.com/wiki/index.php?title=Adding_NPC%27s_and_items_to_your_map&amp;diff=761&amp;oldid=prev</id>
		<title>Chaze007: New page: This tutorial will teach you how to make basic GUI code. This code basically allows NPCs and stuff to talk.   //Test GUI  newgui diologue1 [ 	guitext &quot;Hello, this is where the text is ente...</title>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Adding_NPC%27s_and_items_to_your_map&amp;diff=761&amp;oldid=prev"/>
				<updated>2010-06-24T19:36:34Z</updated>
		
		<summary type="html">&lt;p&gt;New page: This tutorial will teach you how to make basic GUI code. This code basically allows NPCs and stuff to talk.   //Test GUI  newgui diologue1 [ 	guitext &amp;quot;Hello, this is where the text is ente...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This tutorial will teach you how to make basic GUI code. This code basically allows NPCs and stuff to talk.&lt;br /&gt;
&lt;br /&gt;
 //Test GUI&lt;br /&gt;
 newgui diologue1 [&lt;br /&gt;
	guitext &amp;quot;Hello, this is where the text is entered.&amp;quot; chat&lt;br /&gt;
 ]   &amp;quot;Hello, this is the title&amp;quot;&lt;br /&gt;
&lt;br /&gt;
As you can see above, everything is writen in a neat fashion.&lt;br /&gt;
newgui - Tepresents a new GUI window, where your character will speak.&lt;br /&gt;
newgui diologue1 - The diologue1 text is the name of your gui window.&lt;br /&gt;
guitext - This represents what the character will say. Always make sure to put quotations (&amp;quot; &amp;quot;) around the text, and &amp;quot;chat&amp;quot; without quotations, at the ending.&lt;br /&gt;
The very last line, after the closing bracket represents the title that will appear at the top of your GUI window.&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s move on to something more advanced.&lt;br /&gt;
&lt;br /&gt;
 //Test GUI&lt;br /&gt;
 newgui diologue2 [&lt;br /&gt;
 	guitext &amp;quot;First line of text!&amp;quot; chat&lt;br /&gt;
 	guitext &amp;quot;Second line of text!&amp;quot; chat&lt;br /&gt;
 	guitext &amp;quot;Third line of text!.&amp;quot; chat	&lt;br /&gt;
 ]   &amp;quot;Lines of text.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Adding more lines can make your diologue longer. Keep this in mind when explaining something big in your map.&lt;br /&gt;
&lt;br /&gt;
 //Test GUI&lt;br /&gt;
 newgui diologue3 [&lt;br /&gt;
 	guitext &amp;quot;^fs^f0Hello, I am green text^fr&amp;quot; chat&lt;br /&gt;
 ]   &amp;quot;Green Text&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Adding color tags allow you to color text&lt;br /&gt;
The ^fs represents the starting point basically, of where your colored text will be.&lt;br /&gt;
The ^f0 is the color of your text, 0 being green.&lt;br /&gt;
The ^fr represents the ending point of your text.&lt;br /&gt;
These combined allow for scattered colored text.&lt;br /&gt;
&lt;br /&gt;
 //Test GUI&lt;br /&gt;
 newgui diologue4 [&lt;br /&gt;
 	guitext &amp;quot;^fs^f0Hello^fr, I am ^fs^f1blue^fr, no wait! ^fs^f3RED!^fr.&amp;quot; chat&lt;br /&gt;
 ]   &amp;quot;Colored Text&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Here is the full list of different colored text.&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;^f0 - Green&lt;br /&gt;
&amp;lt;li&amp;gt;^f1 - Blue&lt;br /&gt;
&amp;lt;li&amp;gt;^f2 - Yellow&lt;br /&gt;
&amp;lt;li&amp;gt;^f3 - Red&lt;br /&gt;
&amp;lt;li&amp;gt;^f4 - Gray&lt;br /&gt;
&amp;lt;li&amp;gt;^f5 - Magneta&lt;br /&gt;
&amp;lt;li&amp;gt;^f6 - Oramge&lt;br /&gt;
&amp;lt;li&amp;gt;^f7 - White&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;^fA - Apricot&lt;br /&gt;
&amp;lt;li&amp;gt;^fB - Brown&lt;br /&gt;
&amp;lt;li&amp;gt;^fC - Corn&lt;br /&gt;
&amp;lt;li&amp;gt;^fD - Dodger Blue&lt;br /&gt;
&amp;lt;li&amp;gt;^fE - Emerald&lt;br /&gt;
&amp;lt;li&amp;gt;^fF - Fuchsia&lt;br /&gt;
&amp;lt;li&amp;gt;^fG - Gold&lt;br /&gt;
&amp;lt;li&amp;gt;^fH - Heliotrope&lt;br /&gt;
&amp;lt;li&amp;gt;^fI - Indigo&lt;br /&gt;
&amp;lt;li&amp;gt;^fJ - Jade&lt;br /&gt;
&amp;lt;li&amp;gt;^fK - Khaki&lt;br /&gt;
&amp;lt;li&amp;gt;^fL - Lemon&lt;br /&gt;
&amp;lt;li&amp;gt;^fM - Mint&lt;br /&gt;
&amp;lt;li&amp;gt;^fN - Navajo White&lt;br /&gt;
&amp;lt;li&amp;gt;^fO - Olive&lt;br /&gt;
&amp;lt;li&amp;gt;^fP - Pink&lt;br /&gt;
&amp;lt;li&amp;gt;^fR - Rose&lt;br /&gt;
&amp;lt;li&amp;gt;^fS - Silver&lt;br /&gt;
&amp;lt;li&amp;gt;^fT - Turqoise&lt;br /&gt;
&amp;lt;li&amp;gt;^fU - Ultramarine&lt;br /&gt;
&amp;lt;li&amp;gt;^fV - Violet&lt;br /&gt;
&amp;lt;li&amp;gt;^fW - Wheat&lt;br /&gt;
&amp;lt;li&amp;gt;^fY - Yellow&lt;br /&gt;
&amp;lt;li&amp;gt;^fZ - Zinnwaldite&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;^fs - Start of Text&lt;br /&gt;
&amp;lt;li&amp;gt;^fr - End of Text&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These allow for a combination of brilliant colors if used in the correct manner.&lt;br /&gt;
Next I will show you how to execute your GUI, and make an item for your map.&lt;br /&gt;
&lt;br /&gt;
 //Diologue Triggers&lt;br /&gt;
 level_trigger_1 = [showgui diologue1; sound $select]&lt;br /&gt;
&lt;br /&gt;
the level trigger chooses which tag your npc will have. As you can see it&amp;#039;s told in the action to show the GUI of diologue1, and to play a sound.&lt;br /&gt;
&lt;br /&gt;
 //Item Triggers&lt;br /&gt;
 level_trigger_2 = [jumpvel 600; sound $eatapple; showgui eatapple; echo &amp;quot;You&amp;#039;ve eaten an apple! You can now jump HIGHER!&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
As you can see here, this is something you&amp;#039;d most likely assign to be an item, the action tells it to increase the jumping velocity, to play a sound, to show a GUI, and to show text in the top left corner.&lt;br /&gt;
&lt;br /&gt;
Mixing these unique functions can make for an exciting map. We hope this tutorial helped you in your troubles.&lt;/div&gt;</summary>
		<author><name>Chaze007</name></author>	</entry>

	</feed>