I’ve tried all that and been using prints,
if (agro.type == 1 and event.element1 == 1) or (event.element1 == 1 and hit.type == 1) then print("HIT Boss HEAD :)") print(event.element1) print(event.element2) print(event.object1) print(event.object2) end if (agro.type == 1 and event.element2 == 2) or (event.element2 == 2 and hit.type == 1) then print("HIT Boss") print(event.element1) print(event.element2) print(event.object1) print(event.object2) end
I’ve even tried to print out the variables outside of collision just at the start and its all nil
print(game.mboss\_1.element1) print(game.mboss\_1.element2)
Still all registers on one body…for the element1
I’m using a normal collision handler for weapons being:
Runtime:addEventListener(“collision”, weaponCollision)