Discuss Scratch

babyshroom
Scratcher
3 posts

How to make a enemy

So i've made the enemy go towards and respawn but i don't know how to make him spawn left and right randomly not just left or just right i mean after you kill him

Last edited by babyshroom (Feb. 26, 2022 10:39:35)

fakemaker1337
Scratcher
99 posts

How to make a enemy

Try this…
Let me know if that is not what you wanted.

when green flag clicked
forever
if <<On Scratch> and <On Forums>> then
repeat until <(help need near me) = [no]>
if <(help need near me) = [yes]> then
Help!
end
end
end
end
babyshroom
Scratcher
3 posts

How to make a enemy

What does “help meed near me” means?
What is the definiton of “Help!”?
babyshroom
Scratcher
3 posts

How to make a enemy

babyshroom wrote:

So i've made the enemy go towards and respawn but i don't know how to make him spawn left and right randomly not just left or just right i mean after you kill him

Now i've got him to work properly just i need only the respawn
fakemaker1337
Scratcher
99 posts

How to make a enemy

babyshroom wrote:

What does “help meed near me” means?
What is the definiton of “Help!”?
That is just my signature.

when green flag clicked
forever
if <<On Scratch> and <On Forums>> then
repeat until <(help need near me) = [no]>
if <(help need near me) = [yes]> then
Help!
end
end
end
end

Powered by DjangoBB