Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

Hero.say not working


Maybe not a big deal but hero.say is not working…
The hero is saying other things (that I didn’t program).
here’s part of the code…

    if enemy:
        hero.say("Die enemy!")


Some levels customize the hero’s actions and methods. In this case, the attack function is modified to also say the name of the target you are attacking. This can be useful to help players debug their code.

So this is expected behavior, not a bug. :wink:



Thank you!