Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do i make a clone have a health system?
- misty956
- Scratcher
8 posts
how do i make a clone have a health system?
i know how to make a sprite have health, but i do not know how to get a clone to have its own independent health.
- Luke52712
- Scratcher
24 posts
how do i make a clone have a health system?
Hello, misty956!
First, create a variable only for the sprite. You can name it anything, but I will name it “health”
Then, make a clone.
Then, that clone has a seperate health system. If you want to go any further with that, let me know.
That is the less customizable way. Here is another approach to it:
WIKI TO THIS IF YOU NEED ANY MORE HELP!
Wiki
First, create a variable only for the sprite. You can name it anything, but I will name it “health”
Then, make a clone.
when green flag clicked
set [Health] to [3]
create clone of [myself]
Then, that clone has a seperate health system. If you want to go any further with that, let me know.
That is the less customizable way. Here is another approach to it:
when green flag clicked
create clone of [myself]
when I start as a clone
set [Health] to [3]
WIKI TO THIS IF YOU NEED ANY MORE HELP!
Wiki
Last edited by Luke52712 (March 22, 2024 21:30:37)
- Discussion Forums
- » Help with Scripts
- » how do i make a clone have a health system?