<?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[Destroying not owned structures]]></title><description><![CDATA[<p>In a claimed room when there are still structures from the previous player, my script can't destroy the structures. `structure.destroy()` =&gt; -1 (ERR_NOT_OWNER)</p>
<p>While manually destroying the structure is possible. Is this expected?</p>]]></description><link>http://screeps.com/forum/topic/1017/destroying-not-owned-structures</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 07:54:09 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/1017.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 May 2016 17:57:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Destroying not owned structures on Invalid Date]]></title><description><![CDATA[<p>In a claimed room when there are still structures from the previous player, my script can't destroy the structures. `structure.destroy()` =&gt; -1 (ERR_NOT_OWNER)</p>
<p>While manually destroying the structure is possible. Is this expected?</p>]]></description><link>http://screeps.com/forum/post/4842</link><guid isPermaLink="true">http://screeps.com/forum/post/4842</guid><dc:creator><![CDATA[TooAngel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Destroying not owned structures on Invalid Date]]></title><description><![CDATA[<p>Nevermind, now it is working - maybe only for spawns?</p>]]></description><link>http://screeps.com/forum/post/4843</link><guid isPermaLink="true">http://screeps.com/forum/post/4843</guid><dc:creator><![CDATA[TooAngel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Destroying not owned structures on Invalid Date]]></title><description><![CDATA[<p>I just tested this in a room that had extensions and a spawn owned by another player. I claimed the room and then attempted to call .destroy() on all of the structures in the room. It worked just fine for the extensions but repeated calls to .destroy() on the spawn returned -1 (ERR_NOT_OWNER). I was able to destroy the spawn using the GUI "destroy this structure" button in the side bar.</p>]]></description><link>http://screeps.com/forum/post/4844</link><guid isPermaLink="true">http://screeps.com/forum/post/4844</guid><dc:creator><![CDATA[Helam]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>