# The Two Flowers

**URL:** <https://discourse.codecombat.com/t/the-two-flowers/3558>\
**Category:** Level Help\
**Created:** [April 16, 2015, 2:01pm UTC](https://discourse.codecombat.com/t/the-two-flowers/3558 "2015-04-16T14:01:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![juraj\_pechac](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/juraj_pechac/32/4987_2.png) [@juraj\_pechac](https://discourse.codecombat.com/u/juraj_pechac)\
**Post date:** [April 16, 2015, 2:01pm UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/1 "2015-04-16T14:01:44Z")

</div>

![](https://sea2.discourse-cdn.com/flex016/uploads/codecombat/2425/f1fdac9dbe92829c.jpg)

---

<div class="post-metadata">

**Author:** ![Catsync](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/catsync/32/6431_2.png) [@Catsync](https://discourse.codecombat.com/u/Catsync)\
**Post date:** [April 16, 2015, 2:08pm UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/2 "2015-04-16T14:08:14Z")

</div>

Hector is the peasant, he won’t attack, he just tries to evade ogres. You don’t need to give him any commands. 🙂

---

<div class="post-metadata">

**Author:** ![juraj\_pechac](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/juraj_pechac/32/4987_2.png) [@juraj\_pechac](https://discourse.codecombat.com/u/juraj_pechac)\
**Post date:** [April 16, 2015, 3:42pm UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/3 "2015-04-16T15:42:12Z")

</div>

Since you are the hero, then you can refer to the hero with self (Python, Lua), this (JavaScript, Clojure), or @ (CoffeeScript). This means that everytime you type self, this, or @ into the code editor, it is referring to you, the hero of the game.

self==hero==“Anya” ?

---

<div class="post-metadata">

**Author:** ![Catsync](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/catsync/32/6431_2.png) [@Catsync](https://discourse.codecombat.com/u/Catsync)\
**Post date:** [April 16, 2015, 3:45pm UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/4 "2015-04-16T15:45:24Z")

</div>

`self.command(soldier, "attack", enemy)`

Yes, self is Anya. Who is soldier?

---

<div class="post-metadata">

**Author:** ![juraj\_pechac](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/juraj_pechac/32/4987_2.png) [@juraj\_pechac](https://discourse.codecombat.com/u/juraj_pechac)\
**Post date:** [April 16, 2015, 3:51pm UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/5 "2015-04-16T15:51:20Z")

</div>

OMG, THX.

```python
def commandSoldiers():
    soldiers=self.findByType("soldier")
    for soldier in soldiers:
        enemy = soldier.findNearestEnemy()
        self.command(soldier, "attack", enemy)

```

![](https://sea2.discourse-cdn.com/flex016/uploads/codecombat/2426/8d1ea0737123bfb2.jpg)

---

<div class="post-metadata">

**Author:** ![abc](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@abc](https://discourse.codecombat.com/u/abc)\
**Post date:** [April 15, 2020, 12:29am UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/6 "2020-04-15T00:29:00Z")

</div>

For some strange reason, I can’t get into the level itself. It keeps saying “Unable to Load Level” and I have been trying for a couple of days now.

---

<div class="post-metadata">

**Author:** ![Deadpool198](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/deadpool198/32/16753_2.png) [@Deadpool198](https://discourse.codecombat.com/u/Deadpool198)\
**Post date:** [April 15, 2020, 8:18am UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/7 "2020-04-15T08:18:26Z")

</div>

Hi @abc, welcome to the CodeCombat discourse! 🎉  
Please could you post a screenshot of your screen and tell me what type of browser you’re using. Have you accessed this level before and written any code?  
Thanks  
Danny

---

<div class="post-metadata">

**Author:** ![abc](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@abc](https://discourse.codecombat.com/u/abc)\
**Post date:** [April 15, 2020, 2:12pm UTC](https://discourse.codecombat.com/t/the-two-flowers/3558/8 "2020-04-15T14:12:36Z")

</div>

Yes, I have accessed it before. Now it works fine, I think it was an internet problem. Thanks for trying to help me.
