[SOLVED] Siege of stonehold: hero is not moving

Hi wizards,
Hopefully somebody can help me with this problem. My hero won’t respond to flags, cleave or attack enemies. There’s probably some basic problem with my code, although I have checked over most of it in the methods menu.
Thanks guys :grinning:

Let me know if you want more information.

first welcome back! also can u post your code formatted correctly
?

Hi Katie,

Welcome back!

I think you just want to put all your code in a while True loop. At the moment it will all run in the first half second of play, and then stop :slightly_smiling_face:.

Jenny

Thank you! I’ll try this

try asking
image
lol kidding sorry

Do you mean without the black highlighting? If so, I’m on not on my own computer and it won’t let me remove it. It’s on every app and website :sob: :rofl:

I think he means copy and paste in on the forum with </>

Try copy-paste the code you added to the level, and format your code as explained here :slight_smile:

Welcome back, @Katie_Shepherd! Do you get an error message when you run the code?

Thank you! This was all I needed to finish the code and win the level. Can’t believe I missed such a basic error :sob: :rofl:
But yes thank you :smiling_face_with_three_hearts:

1 Like

Thanks for the handy guide, I understand what you all meant now!

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.