<?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[Renaming creeps]]></title><description><![CDATA[<p>How would i rename i creep i thought it would be something like this</p>
<p>Game.creeps.B-0.Name = 'B0';</p>]]></description><link>http://screeps.com/forum/topic/1320/renaming-creeps</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 11:41:25 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/1320.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Oct 2015 18:08:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Renaming creeps on Invalid Date]]></title><description><![CDATA[<p>How would i rename i creep i thought it would be something like this</p>
<p>Game.creeps.B-0.Name = 'B0';</p>]]></description><link>http://screeps.com/forum/post/5978</link><guid isPermaLink="true">http://screeps.com/forum/post/5978</guid><dc:creator><![CDATA[ArisingSun]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Renaming creeps on Invalid Date]]></title><description><![CDATA[<p>i noticed that all the harvesters named W-(#) and with a harvester role stopped moving <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--disappointed"
      title=":("
      alt="😞"
    /><br>
and the ones without are normal!</p>]]></description><link>http://screeps.com/forum/post/5979</link><guid isPermaLink="true">http://screeps.com/forum/post/5979</guid><dc:creator><![CDATA[ArisingSun]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Renaming creeps on Invalid Date]]></title><description><![CDATA[<ol>
<li>You can't rename creep. Usually it is easier to wait until it ages and die and born another one with the right name.</li>
<li>You can't access creep with '-' in the name that way (because it is minus operation sight in JavaScript), but you can do it like Game.creeps['B-0'] </li>
<li>It is better not to use creep names in your logic. Use creep.memory instead.</li>
</ol>]]></description><link>http://screeps.com/forum/post/5980</link><guid isPermaLink="true">http://screeps.com/forum/post/5980</guid><dc:creator><![CDATA[xoposhiy]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Renaming creeps on Invalid Date]]></title><description><![CDATA[<ul>
<li>sight = sign</li>
</ul>]]></description><link>http://screeps.com/forum/post/5981</link><guid isPermaLink="true">http://screeps.com/forum/post/5981</guid><dc:creator><![CDATA[xoposhiy]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Renaming creeps on Invalid Date]]></title><description><![CDATA[<p>thanks for the info <a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/657">@xoposhiy</a> </p>
<p>also could you give me an example of using creep.memory that i'd love to learn!<br>
i'm currently learning JS in code academy and applying what I learn here. I'm improving slowly but surely!</p>]]></description><link>http://screeps.com/forum/post/5982</link><guid isPermaLink="true">http://screeps.com/forum/post/5982</guid><dc:creator><![CDATA[ArisingSun]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Renaming creeps on Invalid Date]]></title><description><![CDATA[<p>scratch that would this be an example<br>
Memory.creeps."W0".role = 'harvester');</p>]]></description><link>http://screeps.com/forum/post/5983</link><guid isPermaLink="true">http://screeps.com/forum/post/5983</guid><dc:creator><![CDATA[ArisingSun]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Renaming creeps on Invalid Date]]></title><description><![CDATA[<pre><code>for(var name in Game.creeps){
  var creep = Game.creeps[name];
  if (creep.memory.role == 'harvester') { ... }
  else if (creep.memory.role == 'builder') { ... }
  ...
}
</code></pre>]]></description><link>http://screeps.com/forum/post/5984</link><guid isPermaLink="true">http://screeps.com/forum/post/5984</guid><dc:creator><![CDATA[xoposhiy]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>