#Zombie is being a menace to society by blocking one of repeater’s pea
1 messages · Page 1 of 1 (latest)
the red overlay is the entity's mercy invincibility (or that's what I would call it)
basically after getting hit the entity can't take any damage from any source until the timer runs out
you'll have to use a different method of applying damage with the self_destruct damage cause
Is there a way to remove the mercy invincibility?
There's none that I know of
Ok can you pls explain to me the solution that you talked about
honestly I'm not sure even this solution is practical
From what I understand I should use /damage command somehow
something like that
you can do something like this through long machinations, but it will still work randomly. It is worth using a scoreboard instead of the normal hp
Wait
Do you mean I should use a health scoreboard for every zombie
And when the bullet hits them it subtracts from their health scoreboard
And the zombies health is determined by the scoreboard
no, just fully replace health with health scoreboard
Oh, Do you have any idea on how to do that?
Or a tutorial video?
||@last copper|| sorry for the mention
it is pretty easy
you can make an immortal zombie and delete it through the script after animation of death
but I'm not sure what will happen to delete it, or rather, I just haven't tried it yet
and the damage itself is done through an event, in which, for example, the color of the zombie will change for a short time, and the event itself will be caused by a projectile hitting the zombie hitbox
Yes
Although it's a bit complicated
Funny enough I actually was working on a PVZ project once and ran into this problem
my way of fixing it was making a custom health system using scoreboards
I'm also using a custom health system for my next project
so if you need help in setting it up I may be able to help
it is better to use it wherever possible.
100% Minecraft's vanilla system is currently crap when it comes to this stuff
yes, I would like to be able to disable them with one setting in the world settings, something like a "blank sheet" (including void world)
Make the projectiles do 0 damage > add a damage_sensor to detect when the projectile hits the entity > run /damage, which has no cooldown
I thought the damage command had a cooldown
I believe it doesn’t
Yes pls
Nah I tried it, it has a cooldown
the command itself doesn't have a cooldown but the damage won't register
first question: do you plan on this project just being an add-on or do you plan on having this be part of a specific world
Just an addon
||@cursive palm ||
ik I'm thinking
Just tell me the world I may figure the rest
ik we're gonna need to figure out how to create a scoreboard as soon as you join a world.
I'm gonna do some testing with something for this
one way we could do it is by setting up a timer on the player that executed an event after like 2-5 seconds
Nvm I found another solution
What
Using scripts
k