The for loop will command every soldier if it’s:
for i in range(len(soldiers)):
But the latest version of your posted code is:
for i in range(len(defend)):
The for loop will command every soldier if it’s:
for i in range(len(soldiers)):
But the latest version of your posted code is:
for i in range(len(defend)):
so, I change for i in range(len(defend)):
to for i in range(len(soldiers)):
?
well, i did it but…
All of your soldiers seem to be commanded to defend the same position.
changed it to
for i in range(len(soldiers)):
soldier = soldiers[i]
target = defend[i]
hero.command(soldier, "defend", target)
so now their all spread out
but this happened:
I really can’t help you further, since I don’t even have access to the level.
oh… I’m sorry. I did now know you were not a subscriber
Try watching the video guide
But the vedio guide does not work!
Can you see where it is?
yes. BTW I already completed the level!