<?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=Goto</id>
	<title>Goto - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?action=history&amp;feed=atom&amp;title=Goto"/>
	<link rel="alternate" type="text/html" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Goto&amp;action=history"/>
	<updated>2026-07-26T06:34:12Z</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=Goto&amp;diff=582&amp;oldid=prev</id>
		<title>Silvematt: Created page with &quot;''FirstMainQuest_Goto'' that allows the player to automatically receive the first Main Quest when a new character spawns in the world for the first time. A Goto Object is an object, most of the times invisible, with a Trigger Collider that triggers Events and Consequences when the player or an entity such as the AI enters that collider.  It is used to trigger actions upon reaching a certain location.  Elements:  * '''...&quot;</title>
		<link rel="alternate" type="text/html" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Goto&amp;diff=582&amp;oldid=prev"/>
		<updated>2023-08-26T00:02:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/URPGCreationKitDocumentation/index.php/File:Goto-2.png&quot; title=&quot;File:Goto-2.png&quot;&gt;thumb|&amp;#039;&amp;#039;FirstMainQuest_Goto&amp;#039;&amp;#039; that allows the player to automatically receive the first Main Quest when a new character spawns in the world for the first time.&lt;/a&gt; A Goto Object is an object, most of the times invisible, with a Trigger Collider that triggers &lt;a href=&quot;/URPGCreationKitDocumentation/index.php/Events_And_Consequences&quot; title=&quot;Events And Consequences&quot;&gt;Events and Consequences&lt;/a&gt; when the player or an entity such as the AI enters that collider.  It is used to trigger actions upon reaching a certain location.  Elements:  * &amp;#039;&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Goto-2.png|thumb|''FirstMainQuest_Goto'' that allows the player to automatically receive the first Main Quest when a new character spawns in the world for the first time.]]&lt;br /&gt;
A Goto Object is an object, most of the times invisible, with a Trigger Collider that triggers [[Events And Consequences|Events and Consequences]] when the player or an entity such as the AI enters that collider.&lt;br /&gt;
&lt;br /&gt;
It is used to trigger actions upon reaching a certain location.&lt;br /&gt;
&lt;br /&gt;
Elements:&lt;br /&gt;
&lt;br /&gt;
* '''OnEnter Result Script''': the [[Result Scripts|result script]] that will run when the '''Collision Target''' will reach this collider.&lt;br /&gt;
* '''OnExit Result Script''': the [[Result Scripts|result script]] that will run when the '''Collision Target''' will leave this collider.&lt;br /&gt;
* '''OnEnter Events:''' the [[Events And Consequences|events]] that will run when the '''Collision Target''' will reach this collider.&lt;br /&gt;
* '''OnEnter Delay Activation:''' the amount of time to wait before triggering the OnEnter events after the '''Collision Target''' entered this collider.&lt;br /&gt;
* '''Allow Multiple OnEnter Triggers:''' if this is true the events will run every time the player will enter this collider, otherwise only the first time.&lt;br /&gt;
* '''Destroy After OnEnter''': if this is true, the GameObject will be destroyed after triggering the events.&lt;br /&gt;
* '''// Same but for OnExit'''&lt;br /&gt;
* '''CollisionTarget:''' who can test for OnEnter/OnExit cheks (Player or/and AI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Goto''' objects are used extensively '''with [[Mutable|Mutables]]''', to allow that the events regarding the Goto object are called only once. The flag &amp;quot;'''Destroy After OnEnter'''&amp;quot; most of the time is not sufficient, because if the Player enters a Goto and it gets destroyed, if the player saves and load in the same place the Goto object will be reloaded in the game.&lt;br /&gt;
&lt;br /&gt;
For that reason, Mutables allows to wrap Goto objects into a savable state.&lt;br /&gt;
&lt;br /&gt;
Read more on the [[mutable]] page.&lt;/div&gt;</summary>
		<author><name>Silvematt</name></author>
	</entry>
</feed>