Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » please help with this
- J-W2358
-
5 posts
please help with this
basically I'm making it so that when you hit a attacking npc it stops its script and goes to another(they are clones).
heres the script i used for the npc
heres the script i used for the npc
Last edited by J-W2358 (Oct. 1, 2023 10:32:01)
- deck26
-
1000+ posts
please help with this
What do you mean ‘it stops its script and goes to another’?
- J-W2358
-
5 posts
please help with this
i mean it stops a repeat until script to another part of script
- deck26
-
1000+ posts
please help with this
Still a bit unclear but can't you set a variable to indicate some current state has changed and use that variable in the repeat until? i mean it stops a repeat until script to another part of script
- J-W2358
-
5 posts
please help with this
hmmmmm i'll tryStill a bit unclear but can't you set a variable to indicate some current state has changed and use that variable in the repeat until? i mean it stops a repeat until script to another part of script
- J-W2358
-
5 posts
please help with this
btw here is the project link
https://scratch.mit.edu/projects/901180745/
https://scratch.mit.edu/projects/901180745/
- Discussion Forums
- » Help with Scripts
-
» please help with this