So, working on a Halloween project.
Which involves witches, ghosts etc.
So, I want it so that the ghost will stay in one place. Until witches health=0.
Then, once that happens it will be able to move forward towards the hero. But it wont work D=
Suggestions?
Offline
Well, it's a little difficult to determine what's going wrong with a complex project, especially you don't have much information. Could you perhaps provide a little more detail about what specifically doesn't work? How does the ghost behave? Seeing the script would be useful too.
Until then, I'd recommend setting Scratch to single-stepping (Edit > Set single stepping > flash blocks slow/fast) and making watchers for variables involved in the script show on screen to help give you a better idea of what's going on behind the scenes to make it work improperly.
Offline
Use a wait until block to wait until the witches health = 0 if it's less than 0 make sure to set it to 0 . Then, after that, make him move towards the hero!
Offline