Damage Event with TS
I wish to multiply the damage given with Kung Fu by X amount. Here is my code.
Code:
My error: It compiles fine, but it doesn't work. The debug messages don't even show up. Does the Damage event not work with The Specialists? |
Re: Damage Event with TS
No, TS doesn't use the Damage event. There might be a TSDamage event, if not you'll have to stick with TSHealth.
|
Re: Damage Event with TS
Code:
PTakeDam provides the amount of damage dealt. 50 (it has no name) is called directly after PTakeDam, and provides the id's of the victim(2) and killer(3) I'm still not certain, though, when to use register_event() and when to use register_message() :shock: EDIT: I checked again, and I'd go with TSHealth instead of PTakeDam. |
Re: Damage Event with TS
I talked with him over XFire. I helped him get it working.
I just had him use client_damage. |
Re: Damage Event with TS
I Think You Dont Use'it Right...
For Exampler Sombody Make Damage To Other Player 100 HP - 50 HP DAMAGE=50 HP IF You Multiply This With 1.5 This Will Be DAMAGE (FROM CS) - Multiply Damge (FROM SCRIPT) 50 - 75 = 1 (SCRIPT<0) If You Want To Multiply DMG With 1.4 Then You Need To Set KungFuMultiplier = 0.4 Or To Substract 1.... (KungFuMultiplier - 1) |
| All times are GMT -4. The time now is 22:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.