I
Incorga Amelius
Guest
Hello, I have just begun using GameMaker a few weeks ago. I just registered on this forum a few minutes ago too, because I have a problem. Right now I am using the health for objects. So far, i made an event (with drag and drop) that
if an enemy tank collides with a bullet
it will lose 3 hp
When hp is less than 1 destroy the enemy tank
destroy the bullet that collides with the tank
When the enemy is created
set the hp to 9
When I run the game, this action stays true with the first enemy tank, but after the first enemy tank, the bullet seems to insta-kill the rest of the tanks once they hit them. What am I doing wrong?
if an enemy tank collides with a bullet
it will lose 3 hp
When hp is less than 1 destroy the enemy tank
destroy the bullet that collides with the tank
When the enemy is created
set the hp to 9
When I run the game, this action stays true with the first enemy tank, but after the first enemy tank, the bullet seems to insta-kill the rest of the tanks once they hit them. What am I doing wrong?