<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Setmapflag</title><link>https://sourceforge.net/p/hercules/wiki/Setmapflag/</link><description>Recent changes to Setmapflag</description><atom:link href="https://sourceforge.net/p/hercules/wiki/Setmapflag/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 20 Feb 2023 05:03:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/hercules/wiki/Setmapflag/feed" rel="self" type="application/rss+xml"/><item><title>Setmapflag modified by Brynner</title><link>https://sourceforge.net/p/hercules/wiki/Setmapflag/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#syntax"&gt;Syntax&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#description"&gt;Description&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#examples"&gt;Examples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#see-also"&gt;See Also&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="syntax"&gt;Syntax&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="alink" href="/p/hercules/wiki/Setmapflag/"&gt;[Setmapflag]&lt;/a&gt; "&amp;lt;map name&amp;gt;",&amp;lt;flag&amp;gt;{,&amp;lt;zone&amp;gt;}; &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="description"&gt;Description&lt;/h2&gt;
&lt;p&gt;This command marks a specified map with a map flag given. Map flags alter the&lt;br/&gt;
behavior of the map, you can see the list of the available ones in&lt;br/&gt;
'{{git|db/const.txt}}' under 'mf_'.&lt;/p&gt;
&lt;p&gt;The map flags alter the behavior of the map regarding teleporting (mf_nomemo,&lt;br/&gt;
mf_noteleport, mf_nowarp, mf_nogo), storing location when disconnected&lt;br/&gt;
(mf_nosave), dead branch usage (mf_nobranch), penalties upon death&lt;br/&gt;
(mf_nopenalty, mf_nozenypenalty), PVP behavior (mf_pvp, mf_pvp_noparty,&lt;br/&gt;
mf_pvp_noguild), WoE behavior (mf_gvg,mf_gvg_noparty), ability to use skills&lt;br/&gt;
or open up trade deals (mf_notrade, mf_novending, mf_noskill, mf_noicewall),&lt;br/&gt;
current weather effects (mf_snow, mf_fog, mf_sakura, mf_leaves, mf_rain,&lt;br/&gt;
mf_clouds, mf_fireworks) and whether night will be in effect on this map&lt;br/&gt;
(mf_nightenabled).&lt;/p&gt;
&lt;p&gt;The zone optional parameter is used to set the zone for restricted mapflags.&lt;/p&gt;
&lt;h2 id="examples"&gt;Examples&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;// This sets the 'novending' mapflag on Prontera&lt;/span&gt;
&lt;span class="n"&gt;setmapflag&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;"prontera"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mf_novending&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="alink" href="/p/hercules/wiki/Mapflag/"&gt;[Mapflag]&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;[Category:Script Command]&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brynner</dc:creator><pubDate>Mon, 20 Feb 2023 05:03:23 -0000</pubDate><guid>https://sourceforge.netb5898c5da995ad5aaa40bc4dad54b8e5932c4b4a</guid></item></channel></rss>