Ham_TakeDamage gibs
I'm trying to damage a player by calling a virtual Ham_TakeDamage function. Would it be possible to gib a player based on this damage (if they are killed) by altering the dmgbits? If so, what should I pass through for the dmgbits?
|
Re: Ham_TakeDamage gibs
Quote:
PHP Code:
|
Re: Ham_TakeDamage gibs
Awesome! Does explosive damage only gib when damage is over a certain amount, whereas alwaysgib always gibs?
Edit: seems like blast damage just blows things around. |
Re: Ham_TakeDamage gibs
Quote:
|
Re: Ham_TakeDamage gibs
what if replace normal damage with another damge type like DMG_SHOCK ?
will it add any effects to when player is hit? will it display an icon to attacked or anything else? and can i replace damage gibs without calling Ham_Take_damage again? |
Re: Ham_TakeDamage gibs
should be easy to test... put this in a forward and exec that on a bot or something
ExecuteHamB(Ham_TakeDamage, id, iEnt, iAttacker, 10.0, DMG_GENERIC) |
| All times are GMT -4. The time now is 09:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.