Discuss Scratch

Vinniestuff
Scratcher
7 posts

Help with enemy health

if you fight the enemy the health doesnt go down
whenIstartasacloneforeveriftouchingPlayer?thenwait1secschangeHealthby-1
-DanTheCoder-
Scratcher
7 posts

Help with enemy health

That's because a variable can have a different value for each clone, so instead of using clones, you should try using an enemy sprite.
Theo_1er
Scratcher
500+ posts

Help with enemy health

If the project is Combat, you just forgot the forever loop.
Vinniestuff
Scratcher
7 posts

Help with enemy health

it works when i remove the wait (1) but then they die to fast
deck26
Scratcher
1000+ posts

Help with enemy health

Please identify the project. As @Theo_1er says, if it's Combat, you omitted the forever loop.
EpicGhoul993
Scratcher
1000+ posts

Help with enemy health

Vinniestuff wrote:

it works when i remove the wait (1) but then they die to fast
Put the wait block after the change.
Vinniestuff
Scratcher
7 posts

Help with enemy health

thanks but im deleting the game because its trash
Vinniestuff
Scratcher
7 posts

Help with enemy health

@EpicGhoul993 i already fixed the game read the replies on this topic first before posting
EpicGhoul993
Scratcher
1000+ posts

Help with enemy health

Vinniestuff wrote:

@EpicGhoul993 i already fixed the game read the replies on this topic first before posting
You said nothing about whether it's fixed or not, thanks.
Vinniestuff
Scratcher
7 posts

Help with enemy health

@EpicGhoul993 i also wanted to say im not using the forums badly i forgot something in the code and was asking for help there is nothing wrong with that this is help with scripts not complain about scripts
EpicGhoul993
Scratcher
1000+ posts

Help with enemy health

Vinniestuff wrote:

@EpicGhoul993 i also wanted to say im not using the forums badly i forgot something in the code and was asking for help there is nothing wrong with that this is help with scripts not complain about scripts
1. That's my signature and it appears below all my posts.
2. I don't complain about your scripts.
3. If your work is done then just report to close the topic, no more annoying discuss for both of us.

Powered by DjangoBB