I would put in a check before you remove health from the collided entities type instance.
e.g.
If Player <> Null
player\health = player\health - 1
endif
Are all your collidable entities of type player? If they are not then you will need to handle each type serarately.
Are you definately storing the handle in the entityname? We WILL get this working for you ;)
Stevie
e.g.
If Player <> Null
player\health = player\health - 1
endif
Are all your collidable entities of type player? If they are not then you will need to handle each type serarately.
Are you definately storing the handle in the entityname? We WILL get this working for you ;)
Stevie