Author Topic: Few questions  (Read 1042 times)

Alright people... I have 2 questions ready for you.

How would I check when you land on the ground? Say I jump off a building or something and there is not fall damage, how would I check for when you hit the ground?

And the second question is how would I check if you (or certain player) killed another player?

And the second question is how would I check if you (or certain player) killed another player?

You can find out about the onDeath GameConnection which can perform actions after a death here : http://forum.blockland.us/index.php?topic=199151.0.

Make sure that when you check if a player killed another person, the killer is not equal to the client of the victim.

armor::onImpact is called when hitting something at a speed in which you will receive fall damage, even if it is off.


armor::onImpact is called when hitting something at a speed in which you will receive fall damage, even if it is off.
Would you happen to know the parameters? If not I can go in game to check them

Would you happen to know the parameters? If not I can go in game to check them

not off the top of my head no, sorry.

Alright thanks guys!

Code: [Select]
function Armor::onImpact(%this,%obj,%col,%pos,%speed)