Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Finding the weapon that caused damage?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Finding the weapon that caused damage? (Read 712 times)
mitterdoo
June 29, 2013, 04:19:09 PM
Hello. I'm working on a gamemode with a kill-feed that shows weapon names instead of their icons. I just don't know a function that has a parameter of the weapon that is causing damage. Any help?
Ad Bot
Advertisement
Port
June 29, 2013, 04:26:55 PM
Player::damage, Armor::damage and GameConnection::onDeath have a damage type array index argument.
mitterdoo
June 29, 2013, 04:29:24 PM
Which parameter is it on the GameConnection::onDeath?
Port
June 29, 2013, 04:38:32 PM
Second last one, IIRC.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Finding the weapon that caused damage?