29.09.2015, 15:45
Quote:
I'm new to this scripting, okay I see all of these codes but how to add them to my script? just copy & paste them under each other? please help.
|
Underneath the defines should be your OnPlayerTakeDamage callback.
Then inside the OnPlayerTakeDamage, right above return 1 you put the switch, because you need to get the health and armour first, and the return 1 stops the callback.