I am at a bit of a loss. I want the enemy to use the same sprite as the player.
Sprite has:
Hit box
Body
Weapon
Each one has a variable for team and peerID, i want to make it multiplayer once i get single setup.
I am trying to figure out a way to have the weapon dmg the enemy or player.
I have setup
Weapon on collision with HitBox
Weapon team not = to hitbox team
then deal dmg to hit box.
this does not work and i am not fully sure why. If i do it with the multiplayer myID variable it does work.