<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Warp</id>
		<title>Warp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Warp"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Warp&amp;action=history"/>
		<updated>2026-05-05T08:17:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=Warp&amp;diff=449&amp;oldid=prev</id>
		<title>Via: Created page with &quot;==Syntax== *'''warp''' &lt;&quot;map name&quot;&gt;, &lt;x&gt;, &lt;y&gt;;  ==Description== This command places (warps) the currently attached player on given map, at given coordinates. Set...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Warp&amp;diff=449&amp;oldid=prev"/>
				<updated>2013-06-09T09:23:44Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Syntax== *&amp;#039;&amp;#039;&amp;#039;warp&amp;#039;&amp;#039;&amp;#039; &amp;lt;&amp;quot;map name&amp;quot;&amp;gt;, &amp;lt;x&amp;gt;, &amp;lt;y&amp;gt;;  ==Description== This command places (warps) the &lt;a href=&quot;/wiki/RID#Usage&quot; title=&quot;RID&quot;&gt;currently attached&lt;/a&gt; player on given map, at given coordinates. Set...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Syntax==&lt;br /&gt;
*'''warp''' &amp;lt;&amp;quot;map name&amp;quot;&amp;gt;, &amp;lt;x&amp;gt;, &amp;lt;y&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This command places (warps) the [[RID#Usage|currently attached]] player on given map, at given coordinates. Setting both ''x'' and ''y'' to 0 (zero) will cause the player get placed at a random spot. If the target cell is not walkable, it will cause an error and random placement. Parameter ''map name'' also accepts three magic names, where the ''x'' and ''y'' parameters are ignored: &amp;quot;Random&amp;quot; for random placement on current map, &amp;quot;Save&amp;quot; and &amp;quot;SavePoint&amp;quot; will warp the character to it's [[save point]].&lt;br /&gt;
&lt;br /&gt;
Since warping causes all running scripts for the warped character to end, all commands that would normally be executed after warp, '''will not get executed''', so there should not be any other command after warp, except [[end]].&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
 [[mes]] &amp;quot;OK, I'll warp you home now.&amp;quot;;&lt;br /&gt;
 [[close2]];&lt;br /&gt;
 warp &amp;quot;SavePoint&amp;quot;, 0, 0;&lt;br /&gt;
 end;&lt;br /&gt;
Warps the player to his or her save point after closing the dialog.&lt;br /&gt;
&lt;br /&gt;
 mes &amp;quot;Thank you for bringing me all&amp;quot;;&lt;br /&gt;
 mes &amp;quot;these things, but not get out.&amp;quot;;&lt;br /&gt;
 [[next]];&lt;br /&gt;
 warp &amp;quot;prontera&amp;quot;, 150, 150;&lt;br /&gt;
 [[set]] XYZQUEST,XYZQUEST|4;  // not executed&lt;br /&gt;
 mes &amp;quot;See you.&amp;quot;;           // not executed either&lt;br /&gt;
 [[close]];&lt;br /&gt;
Will warp the player to Prontera at coordinates 150,150. Note, that anything past '''warp''' will not get executed (hidden bug, because quest progress is not updated).&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>Via</name></author>	</entry>

	</feed>