Re: Get_Damage_Bone_Name [message #472068 is a reply to message #472062] |
Sat, 21 July 2012 21:56 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma:
|
Colonel |
|
|
Commands->Get_Damage_Bone_Name has never worked properly server side, though it may sometimes appear to. What it does is return the bone that the projectile hit on the server, as opposed to the bone the client hit; sometimes these will match up, but generally they don't. And since the client is the one that determines damage this function is mostly useless.
If you need to get the damage bone use the TT damage hook. You can also guess it from the stock damage hook by comparing damage values to a table.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|