<?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=Ultimate_Simple_Script_Guide%2C_Part_2</id>
		<title>Ultimate Simple Script Guide, Part 2 - 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=Ultimate_Simple_Script_Guide%2C_Part_2"/>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Ultimate_Simple_Script_Guide,_Part_2&amp;action=history"/>
		<updated>2026-05-03T01:35:04Z</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=Ultimate_Simple_Script_Guide,_Part_2&amp;diff=1580&amp;oldid=prev</id>
		<title>Chocolatepie33: Created page with &#039;Part 2; Created by Chocolatepie33 with assistance from Kentl. For 2.5 (for now, 2.6 changes will be made.)  *Creating multiple pop-up windows for an NPC **We&#039;ve sort of talked ab…&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Ultimate_Simple_Script_Guide,_Part_2&amp;diff=1580&amp;oldid=prev"/>
				<updated>2011-12-26T19:40:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;Part 2; Created by Chocolatepie33 with assistance from Kentl. For 2.5 (for now, 2.6 changes will be made.)  *Creating multiple pop-up windows for an NPC **We&amp;#039;ve sort of talked ab…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Part 2; Created by Chocolatepie33 with assistance from Kentl. For 2.5 (for now, 2.6 changes will be made.)&lt;br /&gt;
&lt;br /&gt;
*Creating multiple pop-up windows for an NPC&lt;br /&gt;
**We&amp;#039;ve sort of talked about this, but here&amp;#039;s the specific code:&lt;br /&gt;
     level_trigger_1 = [showgui npc1-1]&lt;br /&gt;
     newgui npc1-1 [        &lt;br /&gt;
     guitext &amp;quot;Hi.&amp;quot;&lt;br /&gt;
     guibar&lt;br /&gt;
     guibutton &amp;quot;How are you?&amp;quot; [showgui npc1-2] &lt;br /&gt;
     guibutton &amp;quot;Goodbye.&amp;quot; [cleargui]&lt;br /&gt;
     ] &amp;quot;Jon&amp;quot;&lt;br /&gt;
     newgui npc1-2 [&lt;br /&gt;
     guitext &amp;quot;I&amp;#039;m doing well. What about you?&amp;quot; &lt;br /&gt;
     guibar&lt;br /&gt;
     guibutton &amp;quot;Fine, fine.&amp;quot; [showgui npc1-3]&lt;br /&gt;
     guibutton &amp;quot;Okay, could be better. See ya later.&amp;quot; [cleargui]&lt;br /&gt;
     ] &amp;quot;Jon&amp;quot;&lt;br /&gt;
     newgui npc1-3 [&lt;br /&gt;
     guitext &amp;quot;Do you like chocolate, vanilla or strawberry ice cream?&amp;quot;&lt;br /&gt;
     guibar &lt;br /&gt;
     guibutton &amp;quot;Chocolate&amp;quot; [showgui npc1-4] &lt;br /&gt;
     guibutton &amp;quot;Vanilla&amp;quot; [showgui npc1-5]&lt;br /&gt;
     guibutton &amp;quot;Strawberry&amp;quot; [showgui npc1-6]&lt;br /&gt;
     guibutton &amp;quot;None. Goodbye.&amp;quot; [cleargui]&lt;br /&gt;
     ] &amp;quot;Jon&amp;quot;&lt;br /&gt;
     newgui npc1-4 [&lt;br /&gt;
     guitext &amp;quot;Yes! I do too! Let&amp;#039;s go eat some at the Ice Cream Shoppe!&amp;quot; &lt;br /&gt;
     guibar&lt;br /&gt;
     guibutton &amp;quot;Alright! Let&amp;#039;s go!&amp;quot; [sp IceCreamShoppe ]&lt;br /&gt;
     guibutton &amp;quot;No thanks, I just ate, how about tomorrow?&amp;quot; [echo &amp;quot;Sure!&amp;quot; cleargui]&lt;br /&gt;
     ] &amp;quot;Jon&amp;quot;&lt;br /&gt;
     newgui npc1-5 [&lt;br /&gt;
     guitext &amp;quot;Oh darn. I like Chocolate more. Goodbye.&amp;quot;&lt;br /&gt;
     guibar&lt;br /&gt;
     guibutton &amp;quot;Goodbye&amp;quot; [cleargui]&lt;br /&gt;
     ] &amp;quot;Jon&amp;quot;&lt;br /&gt;
     newgui npc1-6 [&lt;br /&gt;
     guitext &amp;quot;Oh. I can&amp;#039;t stand strawberry. Goodbye.&amp;quot;&lt;br /&gt;
     guibar&lt;br /&gt;
     guibutton &amp;quot;Goodbye&amp;quot; [cleargui]&lt;br /&gt;
     ] &amp;quot;Jon&amp;quot;&lt;br /&gt;
*Now, for some new things:&lt;br /&gt;
**showgui npc1-2 is one of many commands you can use in the event where it&amp;#039;s guibutton is selected.&lt;br /&gt;
**sp (insert mapname here) takes you to that map in single player mode.&lt;br /&gt;
*Adding quests is what a game&amp;#039;s all about. Quests involve extensive mapping and scripting. As of the current version, I (CP) don&amp;#039;t know if you can carry values over through maps. So you&amp;#039;d (for now) use a single map, or make it so you lose everything going from map to map. Quests use lots of if statements and commands. So be prepared for a lot of code.&lt;/div&gt;</summary>
		<author><name>Chocolatepie33</name></author>	</entry>

	</feed>