try something like this
if entitycollided(enemy, bullets) then
enemyhealth#=enemyhealth#-(5?)
endif
I use a different collision type for my shots to make everything simpler
if entitycollided(enemy, bullets) then
enemyhealth#=enemyhealth#-(5?)
endif
I use a different collision type for my shots to make everything simpler