Adny
Posting Freak
Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation:
173
|
RE: GivePlayerDamage help and some explanation please!
GivePlayerDamage(float afAmount, string& asType, bool abSpinHead, bool abLethal);
afAmount = the amount of damage done to the player; the player's health is 100
asType = the screen + sound effect that will accompany the damage
abSpinHead = with the player's screen suddenly jerk to one side when the damage is recieved?
abLethal = regardless of the damage, will this kill the player?
Example:
GivePlayerDamage(30.0f, "Claws", true, false);
It will inflict 30 damage to the player, display 3 diagonal red slashes across the screen, the player's head will jerk to one side, and it will not kill the player.
I rate it 3 memes.
(This post was last modified: 08-21-2012, 08:23 PM by Adny.)
|
|
08-21-2012, 08:22 PM |
|