<?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=Setmount</id>
		<title>Setmount - 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=Setmount"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Setmount&amp;action=history"/>
		<updated>2026-05-30T17:22:08Z</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=Setmount&amp;diff=936&amp;oldid=prev</id>
		<title>Sevenzz23: Created page with &quot;== Syntax == *setmount {&lt;flag&gt;}; *checkmount() == Description == If &lt;flag&gt; is MOUNT_NONE (or 0) this command will remove the mount from the character.&lt;br&gt; &lt;br&gt; Otherwise i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Setmount&amp;diff=936&amp;oldid=prev"/>
				<updated>2014-11-11T04:50:23Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Syntax == *&lt;a href=&quot;/wiki/Setmount&quot; title=&quot;Setmount&quot;&gt;setmount&lt;/a&gt; {&amp;lt;flag&amp;gt;}; *checkmount() == Description == If &amp;lt;flag&amp;gt; is MOUNT_NONE (or 0) this command will remove the mount from the character.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Otherwise i...&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;
*[[setmount]] {&amp;lt;flag&amp;gt;};&lt;br /&gt;
*checkmount()&lt;br /&gt;
== Description ==&lt;br /&gt;
If &amp;lt;flag&amp;gt; is MOUNT_NONE (or 0) this command will remove the mount from the&lt;br /&gt;
character.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Otherwise it gives the invoking character the desired combat mount, where&lt;br /&gt;
allowed by their class and skills.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If no flag is specified, the mount is automatically chosen according to the&lt;br /&gt;
character's class and skills.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following flag values are accepted:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 	MOUNT_NONE:&lt;br /&gt;
 	   - Dismount&lt;br /&gt;
 	MOUNT_PECO:&lt;br /&gt;
 	   - PecoPeco (Knight series class)&lt;br /&gt;
 	   - GrandPeco (Crusader series class)&lt;br /&gt;
 	   - Gryphon (Royal Guard)&lt;br /&gt;
 	MOUNT_WUG:&lt;br /&gt;
 	   - Warg (Ranger)&lt;br /&gt;
 	MOUNT_MADO:&lt;br /&gt;
 	   - Mado Gear (Mechanic)&lt;br /&gt;
 	MOUNT_DRAGON:&lt;br /&gt;
 	MOUNT_DRAGON_GREEN:&lt;br /&gt;
 	MOUNT_DRAGON_BROWN:&lt;br /&gt;
 	MOUNT_DRAGON_GRAY:&lt;br /&gt;
 	MOUNT_DRAGON_BLUE:&lt;br /&gt;
 	MOUNT_DRAGON_RED:&lt;br /&gt;
 	   - Dragon (Rune Knight)&lt;br /&gt;
 	   if MOUNT_DRAGON is specified, a the default (green) dragon will be used.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Unlike '[[setfalcon]]' and '[[setcart]]' this will not work at all if they aren't of a &lt;br /&gt;
class which can ride a mount.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The accompanying function will return 0 if the invoking character is not on a&lt;br /&gt;
mount, and a non-zero value (according to the above constants) if they are.&lt;br /&gt;
&amp;lt;br&amp;gt;Note: in case of dragons, the returned value will always be MOUNT_DRAGON,&lt;br /&gt;
regardless of color.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 	if (checkmount())&lt;br /&gt;
 		mes &amp;quot;Leave your mount outside! No riding mounts on the floor here!&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
 	if (checkmount() == MOUNT_DRAGON)&lt;br /&gt;
 		mes &amp;quot;Wow, your dragon is cool! Can I pet it?&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>Sevenzz23</name></author>	</entry>

	</feed>