I have done
when I recive wave etr forever if<(distance to enimie)> =50 repeat until <Distance to enimie=>>50> switch costumes to costume 2should'nt this work!!!???
Offline
Oh, thats supposed to be a proper bock on top
ps: its pretty buggy troll :0
Offline
Bob2Bob2Bob2 wrote:
I have done
when I receive [wave etr v] forever if<(distance to [enimie v]) < (50)> repeat until <(distance to [enimie v]) > (50)> switch to costume [costume 2 v] end endshould'nt this work!!!???
help please
:]
Fixed.
Anyway, no, that won't work, though you have the basic idea right. As you have it, your script won't make your tower turn towards the enemy and it won't reset it's costume when the enemy is out of range. So, try adding a few blocks so that it looks like this:
when I receive [wave etr v] forever if<(distance to [enimie v]) < (50)> repeat until <(distance to [enimie v]) > (50)> switch to costume [costume 2 v] point towards [enimie v] end end switch to costume [costume 1 v]
Last edited by ErnieParke (2012-12-15 13:12:12)
Offline