<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hiding specific Flags]]></title><description><![CDATA[<p>I know we can use the checkbox in the interface to hide all flags. But what If I just want to hide some of the flags?</p>
<p>It would be very useful to me if you were to add a boolean property 'hidden' to flags and an associated method to programatically hide/unhide flags. It's a cosmetic thing, but I really do find flags quite distracting, most of the time. </p>]]></description><link>http://screeps.com/forum/topic/850/hiding-specific-flags</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 18:20:53 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/850.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Jul 2016 15:15:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hiding specific Flags on Invalid Date]]></title><description><![CDATA[<p>I know we can use the checkbox in the interface to hide all flags. But what If I just want to hide some of the flags?</p>
<p>It would be very useful to me if you were to add a boolean property 'hidden' to flags and an associated method to programatically hide/unhide flags. It's a cosmetic thing, but I really do find flags quite distracting, most of the time. </p>]]></description><link>http://screeps.com/forum/post/4202</link><guid isPermaLink="true">http://screeps.com/forum/post/4202</guid><dc:creator><![CDATA[DoctorZuber]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Hiding specific Flags on Invalid Date]]></title><description><![CDATA[<p>I don't know how other people handle their code, but for me flags are useless and undesirable except for rallying soldier creeps.</p>
<p>Anything else, ranging from claiming/reserving, to harvesting resources, can be easily accomplished with a</p>
<pre>let remoteLocation = new RoomPosition(25, 25, "TargetMapID");<br>if (creep.room.name != remoteLocation.roomName)<br>{<br>    creep.moveTo(remoteLocation);<br>}<br>else<br>{<br>    // Do stuff like reserving, harvesting, etc.<br>}</pre>
<p>And the desired map ID can be set in an array in the main loop which you then add as a parameter to your creep's role.run() function.</p>
<p>This way, there's no ugly flags on sight and it's easier to clean if you respawn (rather than having to delete flags one by one or adding a for loop to remove them).</p>]]></description><link>http://screeps.com/forum/post/4203</link><guid isPermaLink="true">http://screeps.com/forum/post/4203</guid><dc:creator><![CDATA[redeven]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Hiding specific Flags on Invalid Date]]></title><description><![CDATA[<p>That's not a bad suggestion, but you could easily fake it you know with some code of your own.</p>
<p>You could use a custom flag finder that EITHER returns a visible flag OR returns a position object tied to a deleted flag's memory. Flag.hide could delete the flag but not the memory, and store the position and color into that memory location. Flag.show would create a flag with the old name, pointing at the old memory.</p>
<p>Some tedium to set up, but should be CPU efficient and emulate the exact result you want.</p>]]></description><link>http://screeps.com/forum/post/4204</link><guid isPermaLink="true">http://screeps.com/forum/post/4204</guid><dc:creator><![CDATA[MyrddinE]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Hiding specific Flags on Invalid Date]]></title><description><![CDATA[<p>the point here for me is to be able to hide some of the flags in the UI. Being able to modify this trait in code is really just a bonus which I don't necessarily need. I do have a few flags I use as visual reference, but for the most part I would prefer to keep my flags hidden.</p>]]></description><link>http://screeps.com/forum/post/4205</link><guid isPermaLink="true">http://screeps.com/forum/post/4205</guid><dc:creator><![CDATA[DoctorZuber]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Hiding specific Flags on Invalid Date]]></title><description><![CDATA[<p>We have a color-based flag filter feature in our TODO list, this should work I think.</p>]]></description><link>http://screeps.com/forum/post/4206</link><guid isPermaLink="true">http://screeps.com/forum/post/4206</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Hiding specific Flags on Invalid Date]]></title><description><![CDATA[<p>A color based flag filter would make me happy. That works.</p>]]></description><link>http://screeps.com/forum/post/4207</link><guid isPermaLink="true">http://screeps.com/forum/post/4207</guid><dc:creator><![CDATA[DoctorZuber]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>